	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lock_answer                    ## -- Begin function lock_answer
	.p2align	4, 0x90
_lock_answer:                           ## @lock_answer
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movl	%edx, %ebx
	cmpl	$8, (%rsi)
	jne	LBB0_1
## %bb.4:
	leaq	-40(%rbp), %rdi
	movl	4(%rsi), %esi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_5
LBB0_1:
	cmpl	$-1, %edi
	je	LBB0_2
## %bb.3:
	movl	%edi, -40(%rbp)
	movl	$-1, -36(%rbp)
LBB0_5:
	movq	_d_calls@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	-40(%rbp), %rdx
	movq	_NLM_VERS4@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_syslog
LBB0_7:
	movl	$0, -48(%rbp)
	movq	_NLM_VERS4@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_15
## %bb.8:
	addl	$-134, %ebx
	cmpl	$9, %ebx
	ja	LBB0_17
## %bb.9:
	movl	$-1, %eax
	xorl	%ecx, %ecx
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_13:
	movq	_ESTALE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_15:
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_17
## %bb.16:
	movl	$-1, %eax
	xorl	%ecx, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_10:
	testq	%r14, %r14
	je	LBB0_11
## %bb.18:
	movl	$1, -48(%rbp)
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)
	xorl	%ecx, %ecx
	jmp	LBB0_21
LBB0_11:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_26
LBB0_17:
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_EDEADLK@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_12:
	movq	_EROFS@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_14:
	movq	_EFBIG@GOTPCREL(%rip), %rax
LBB0_20:
	movq	(%rax), %rcx
LBB0_21:
	movq	%rcx, -32(%rbp)
	movq	_LOCKD_ANS_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_nfslockdans
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	movq	_ESRCH@GOTPCREL(%rip), %rdi
	movq	_LOG_INFO@GOTPCREL(%rip), %rdx
	movq	%rdx, %rsi
	cmpq	(%rdi), %rax
	je	LBB0_25
## %bb.24:
	movq	_LOG_ERR@GOTPCREL(%rip), %rsi
LBB0_25:
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movl	(%rsi), %edi
	movl	-40(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_26:
	movl	$-1, %eax
	jmp	LBB0_27
LBB0_22:
	xorl	%eax, %eax
LBB0_27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_19
	.long	L0_0_set_27
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
LJTI0_1:
	.long	L0_1_set_13
	.long	L0_1_set_12
	.long	L0_1_set_21
	.long	L0_1_set_14
	.long	L0_1_set_17
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_10
	.long	L0_1_set_19
	.long	L0_1_set_27
	.end_data_region
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inedible nlm cookie"

	.comm	_d_calls,8,3                    ## @d_calls
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"lock answer: pid %lu: %s %d"

	.comm	_NLM_VERS4,4,2                  ## @NLM_VERS4
L_.str.2:                               ## @.str.2
	.asciz	"nlmv4"

L_.str.3:                               ## @.str.3
	.asciz	"nlmv3"

	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EDEADLK,8,3                    ## @EDEADLK
	.comm	_EROFS,8,3                      ## @EROFS
	.comm	_ESTALE,8,3                     ## @ESTALE
	.comm	_EFBIG,8,3                      ## @EFBIG
	.comm	_LOCKD_ANS_VERSION,4,2          ## @LOCKD_ANS_VERSION
	.comm	_errno,8,3                      ## @errno
	.comm	_EPIPE,8,3                      ## @EPIPE
	.comm	_ESRCH,8,3                      ## @ESRCH
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"process %lu: %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lock_answer                    ; -- Begin function lock_answer
	.p2align	2
_lock_answer:                           ; @lock_answer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x4
	mov	x19, x3
	mov	x20, x2
	ldr	w8, [x1]
	cmp	w8, #8
	b.ne	LBB0_2
; %bb.1:
	add	x8, sp, #24
	add	x0, x8, #8
	ldr	w1, [x1, #4]
	mov	w2, #8
	bl	_memcpy
	b	LBB0_4
LBB0_2:
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.3:
	mov	w8, #-1
	stp	w0, w8, [sp, #32]
LBB0_4:
Lloh0:
	adrp	x8, _d_calls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _d_calls@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x22, _NLM_VERS4@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NLM_VERS4@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldrsw	x8, [sp, #32]
	ldr	w9, [x22]
Lloh8:
	adrp	x10, l_.str.3@PAGE
Lloh9:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh10:
	adrp	x11, l_.str.2@PAGE
Lloh11:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w9, w21
	csel	x9, x11, x10, eq
	stp	x9, x20, [sp, #8]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
LBB0_6:
	str	wzr, [sp, #24]
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.7:
	sub	w9, w20, #134
	cmp	w9, #9
	b.hi	LBB0_16
; %bb.8:
	mov	x8, #0
	mov	w0, #-1
Lloh14:
	adrp	x10, lJTI0_1@PAGE
Lloh15:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
Lloh16:
	adrp	x8, _ESTALE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ESTALE@GOTPAGEOFF]
	b	LBB0_20
LBB0_10:
	sub	w9, w20, #128
	cmp	w9, #5
	b.hi	LBB0_16
; %bb.11:
	mov	x8, #0
	mov	w0, #-1
Lloh18:
	adrp	x10, lJTI0_0@PAGE
Lloh19:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_12
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	mov	x8, #0
	ldr	w9, [x19]
	mov	w10, #1
	stp	w10, w9, [sp, #24]
	b	LBB0_21
LBB0_14:
Lloh20:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
Lloh22:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_23
LBB0_16:
Lloh27:
	adrp	x8, _EACCES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh29:
	adrp	x8, _EDEADLK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EDEADLK@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh31:
	adrp	x8, _EROFS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EROFS@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh33:
	adrp	x8, _EFBIG@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
LBB0_20:
	ldr	x8, [x8]
LBB0_21:
	str	x8, [sp, #40]
Lloh35:
	adrp	x8, _LOCKD_ANS_VERSION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LOCKD_ANS_VERSION@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_nfslockdans
	cbz	x0, LBB0_24
; %bb.22:
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
Lloh41:
	adrp	x9, _EPIPE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _EPIPE@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
Lloh44:
	adrp	x10, _ESRCH@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ESRCH@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	cmp	x8, x10
Lloh47:
	adrp	x10, _LOG_INFO@GOTPAGE
Lloh48:
	ldr	x10, [x10, _LOG_INFO@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh49:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	ldr	w8, [sp, #32]
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_23:
	bl	_syslog
	mov	w0, #-1
LBB0_24:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_17-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
lJTI0_1:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_24-LBB0_9)>>2
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inedible nlm cookie"

	.comm	_d_calls,8,3                    ; @d_calls
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"lock answer: pid %lu: %s %d"

	.comm	_NLM_VERS4,4,2                  ; @NLM_VERS4
l_.str.2:                               ; @.str.2
	.asciz	"nlmv4"

l_.str.3:                               ; @.str.3
	.asciz	"nlmv3"

	.comm	_EACCES,8,3                     ; @EACCES
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EDEADLK,8,3                    ; @EDEADLK
	.comm	_EROFS,8,3                      ; @EROFS
	.comm	_ESTALE,8,3                     ; @ESTALE
	.comm	_EFBIG,8,3                      ; @EFBIG
	.comm	_LOCKD_ANS_VERSION,4,2          ; @LOCKD_ANS_VERSION
	.comm	_errno,8,3                      ; @errno
	.comm	_EPIPE,8,3                      ; @EPIPE
	.comm	_ESRCH,8,3                      ; @ESRCH
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"process %lu: %m"

.subsections_via_symbols
