	.file	"extr_pthread_shims.c_proc_usynch_thread_qos_add_override_for_resource.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	proc_usynch_thread_qos_add_override_for_resource, @function
proc_usynch_thread_qos_add_override_for_resource:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	r10d, DWORD PTR THREAD_NULL[rip]
	test	rsi, rsi
	je	.L3
	mov	r10d, DWORD PTR [rsi]
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, r10d
	mov	eax, DWORD PTR 24[rsp]
	push	rax
	.cfi_def_cfa_offset 32
	call	proc_thread_qos_add_override@PLT
	test	rax, rax
	sete	al
	add	rsp, 24
	.cfi_def_cfa_offset 8
	movzx	eax, al
	ret
	.cfi_endproc
.LFE0:
	.size	proc_usynch_thread_qos_add_override_for_resource, .-proc_usynch_thread_qos_add_override_for_resource
	.comm	THREAD_NULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pthread_shims.c_proc_usynch_thread_qos_add_override_for_resource.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_usynch_thread_qos_add_override_for_resource, %function
proc_usynch_thread_qos_add_override_for_resource:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	cmp	r1, #0
	sub	sp, sp, #16
	ldr	ip, [sp, #24]
	ldr	lr, [sp, #28]
	ldr	r4, [sp, #32]
	ldreq	r1, .L7
	ldr	r1, [r1]
	stm	sp, {ip, lr}
	str	r4, [sp, #8]
	bl	proc_thread_qos_add_override
	clz	r0, r0
	lsr	r0, r0, #5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	THREAD_NULL
	.size	proc_usynch_thread_qos_add_override_for_resource, .-proc_usynch_thread_qos_add_override_for_resource
	.comm	THREAD_NULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
