	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dlm_lock_sync_interruptible
_dlm_lock_sync_interruptible:           ## @dlm_lock_sync_interruptible
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movl	24(%rdi), %ebx
	movl	28(%rdi), %r13d
	leaq	8(%rdi), %r15
	movl	40(%rdi), %r14d
	movl	%ebx, %edi
	callq	_strlen
	movq	_sync_ast@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	36(%r12), %r11d
	movl	%r13d, %edi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	pushq	%r11
	pushq	%r12
	pushq	%r10
	pushq	$0
	callq	_dlm_lock
	addq	$32, %rsp
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_1
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %r14
	movl	%r13d, %ebx
	movl	32(%r12), %r15d
	movl	$1, %r13d
	cmpl	$0, (%r12)
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_MD_CLOSING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	xorl	%r13d, %r13d
	testq	%rax, %rax
	setne	%r13b
LBB0_4:
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_wait_event
	cmpl	$0, (%r12)
	je	LBB0_5
## %bb.8:
	movl	$0, (%r12)
	movq	8(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, 4(%r12)
	jmp	LBB0_10
LBB0_5:
	movl	16(%r12), %esi
	movl	28(%r12), %edi
	movq	_DLM_LKF_CANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_dlm_unlock
	movl	%eax, %r14d
	movl	$0, (%r12)
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	24(%r12), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	callq	_pr_info
LBB0_7:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_sync_ast,4,2                   ## @sync_ast
	.comm	_MD_CLOSING,4,2                 ## @MD_CLOSING
	.comm	_DLM_LKF_CANCEL,4,2             ## @DLM_LKF_CANCEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to cancel previous lock request %s return %d\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_dlm_lock_sync_interruptible
.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_interruptible
_dlm_lock_sync_interruptible:           ; @dlm_lock_sync_interruptible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #8
	ldr	w23, [x0, #40]
	ldp	w25, w24, [x0, #24]
	mov	x0, x25
	bl	_strlen
	mov	x5, x0
Lloh0:
	adrp	x8, _sync_ast@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sync_ast@GOTPAGEOFF]
Lloh2:
	ldr	w7, [x8]
	ldr	w8, [x19, #36]
	str	w8, [sp, #8]
	str	x19, [sp]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	mov	x4, x25
	mov	w6, #0
	bl	_dlm_lock
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
LBB0_1:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	ldr	w23, [x19, #32]
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
	bl	_kthread_should_stop
	cbz	x0, LBB0_11
LBB0_4:
	mov	w1, #1
LBB0_5:
	mov	x0, x23
	bl	_wait_event
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.6:
	str	wzr, [x19]
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_1
; %bb.7:
	str	w20, [x19, #4]
	b	LBB0_1
LBB0_8:
	ldr	w0, [x19, #28]
	ldr	w1, [x19, #16]
Lloh3:
	adrp	x8, _DLM_LKF_CANCEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DLM_LKF_CANCEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x21
	mov	x4, x19
	bl	_dlm_unlock
	mov	x20, x0
	str	wzr, [x19]
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x19, #24]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_info
LBB0_10:
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
LBB0_11:
Lloh11:
	adrp	x8, _MD_CLOSING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MD_CLOSING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cmp	x0, #0
	cset	w1, ne
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_sync_ast,4,2                   ; @sync_ast
	.comm	_MD_CLOSING,4,2                 ; @MD_CLOSING
	.comm	_DLM_LKF_CANCEL,4,2             ; @DLM_LKF_CANCEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to cancel previous lock request %s return %d\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_dlm_lock_sync_interruptible
.subsections_via_symbols
