	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dlm_lock_sync
_dlm_lock_sync:                         ## @dlm_lock_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	32(%rdi), %r15d
	leaq	8(%rdi), %r12
	movl	24(%rdi), %r13d
	movl	28(%rdi), %r14d
	movl	%r13d, %edi
	callq	_strlen
	movq	_sync_ast@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	20(%rbx), %r11d
	movl	%r15d, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	pushq	%r11
	pushq	%rbx
	pushq	%r10
	pushq	$0
	callq	_dlm_lock
	addq	$32, %rsp
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %esi
	movl	16(%rbx), %edi
	callq	_wait_event
	movl	$0, (%rbx)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	%r15d, 4(%rbx)
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sync_ast,4,2                   ## @sync_ast
	.no_dead_strip	_dlm_lock_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dlm_lock_sync
_dlm_lock_sync:                         ; @dlm_lock_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldp	w23, w21, [x0, #28]
	add	x22, x0, #8
	ldr	w24, [x0, #24]
	mov	x0, x24
	bl	_strlen
	mov	x5, x0
Lloh0:
	adrp	x8, _sync_ast@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sync_ast@GOTPAGEOFF]
Lloh2:
	ldr	w7, [x8]
	ldr	w8, [x20, #20]
	str	w8, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	w6, #0
	bl	_dlm_lock
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x20, #16]
	ldr	w1, [x20]
	bl	_wait_event
	str	wzr, [x20]
	ldr	x0, [x20, #8]
	cbnz	x0, LBB0_3
; %bb.2:
	str	w19, [x20, #4]
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sync_ast,4,2                   ; @sync_ast
	.no_dead_strip	_dlm_lock_sync
.subsections_via_symbols
