	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_lockprop_ctx
_handle_lockprop_ctx:                   ## @handle_lockprop_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	movq	_DAV_CTX_LOCKENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movl	(%rbx), %edi
	movq	_DAV_CTX_LOCKTYPE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	(%rbx), %edi
	movq	_DAV_CTX_LOCKTYPE_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movq	_DAV_PROP_LOCKEX@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_2:
	movl	(%r14), %eax
	movq	_DAV_PROP_LOCKEX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_DAV_PROP_LOCKWR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_DAV_LOCK_OK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_5:
	movq	_DAV_LOCK_OK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jmp	LBB0_11
LBB0_7:
	movq	_DAV_PROP_LOCKWR@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%r14), %eax
	orl	(%rcx), %eax
LBB0_11:
	movl	%eax, (%r14)
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAV_CTX_LOCKENTRY,4,2          ## @DAV_CTX_LOCKENTRY
	.comm	_DAV_PROP_LOCKEX,4,2            ## @DAV_PROP_LOCKEX
	.comm	_DAV_PROP_LOCKWR,4,2            ## @DAV_PROP_LOCKWR
	.comm	_DAV_LOCK_OK,4,2                ## @DAV_LOCK_OK
	.comm	_DAV_CTX_LOCKTYPE_WRITE,4,2     ## @DAV_CTX_LOCKTYPE_WRITE
	.comm	_DAV_CTX_LOCKTYPE_EXCLUSIVE,4,2 ## @DAV_CTX_LOCKTYPE_EXCLUSIVE
	.no_dead_strip	_handle_lockprop_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_lockprop_ctx
_handle_lockprop_ctx:                   ; @handle_lockprop_ctx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	w1, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _DAV_CTX_LOCKENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAV_CTX_LOCKENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _DAV_CTX_LOCKTYPE_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DAV_CTX_LOCKTYPE_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.3:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _DAV_CTX_LOCKTYPE_EXCLUSIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DAV_CTX_LOCKTYPE_EXCLUSIVE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_strcmp
	cbnz	w0, LBB0_12
; %bb.4:
Lloh9:
	adrp	x8, _DAV_PROP_LOCKEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DAV_PROP_LOCKEX@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _DAV_PROP_LOCKEX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DAV_PROP_LOCKEX@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x9]
Lloh14:
	adrp	x9, _DAV_LOCK_OK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DAV_LOCK_OK@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_8
; %bb.6:
Lloh16:
	adrp	x10, _DAV_PROP_LOCKWR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DAV_PROP_LOCKWR@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x20]
LBB0_8:
	ldr	w9, [x9]
	and	w8, w8, w9
	b	LBB0_11
LBB0_9:
Lloh19:
	adrp	x8, _DAV_PROP_LOCKWR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DAV_PROP_LOCKWR@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
LBB0_11:
	str	w8, [x20]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DAV_CTX_LOCKENTRY,4,2          ; @DAV_CTX_LOCKENTRY
	.comm	_DAV_PROP_LOCKEX,4,2            ; @DAV_PROP_LOCKEX
	.comm	_DAV_PROP_LOCKWR,4,2            ; @DAV_PROP_LOCKWR
	.comm	_DAV_LOCK_OK,4,2                ; @DAV_LOCK_OK
	.comm	_DAV_CTX_LOCKTYPE_WRITE,4,2     ; @DAV_CTX_LOCKTYPE_WRITE
	.comm	_DAV_CTX_LOCKTYPE_EXCLUSIVE,4,2 ; @DAV_CTX_LOCKTYPE_EXCLUSIVE
	.no_dead_strip	_handle_lockprop_ctx
.subsections_via_symbols
