	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_lock_msg_1_svc             ## -- Begin function nlm_lock_msg_1_svc
	.p2align	4, 0x90
_nlm_lock_msg_1_svc:                    ## @nlm_lock_msg_1_svc
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$20, %rdi
	leaq	-28(%rbp), %rsi
	callq	_nlmtonlm4
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	movups	4(%rbx), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_debug_level@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_log_from_addr
	movl	(%rbx), %eax
LBB0_2:
	movl	%eax, _nlm_lock_msg_1_svc.res+4(%rip)
	leaq	_nlm_lock_msg_1_svc.res(%rip), %r15
	movq	_LOCK_ASYNC@GOTPCREL(%rip), %rax
	movq	_LOCK_MON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_getlock
	movl	%eax, _nlm_lock_msg_1_svc.res(%rip)
	movq	_NLM_LOCK_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_getrpcaddr
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_transmit_result
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm_lock_msg_1_svc.res,8,2 ## @nlm_lock_msg_1_svc.res
	.comm	_debug_level,8,3                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm_lock_msg"

	.comm	_LOCK_ASYNC,4,2                 ## @LOCK_ASYNC
	.comm	_LOCK_MON,4,2                   ## @LOCK_MON
	.comm	_NLM_LOCK_RES,4,2               ## @NLM_LOCK_RES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_lock_msg_1_svc             ; -- Begin function nlm_lock_msg_1_svc
	.p2align	2
_nlm_lock_msg_1_svc:                    ; @nlm_lock_msg_1_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #20
	mov	x8, sp
	add	x1, x8, #20
	bl	_nlmtonlm4
	ldr	w8, [x20]
	str	w8, [sp, #16]
	ldur	q0, [x20, #4]
	str	q0, [sp]
Lloh0:
	adrp	x9, _debug_level@GOTPAGE
Lloh1:
	ldr	x9, [x9, _debug_level@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_log_from_addr
	ldr	w8, [x20]
LBB0_2:
Lloh5:
	adrp	x20, _nlm_lock_msg_1_svc.res@PAGE
Lloh6:
	add	x20, x20, _nlm_lock_msg_1_svc.res@PAGEOFF
Lloh7:
	adrp	x9, _LOCK_ASYNC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LOCK_ASYNC@GOTPAGEOFF]
	str	w8, [x20, #4]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _LOCK_MON@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LOCK_MON@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, sp
	mov	x1, x19
	bl	_getlock
	str	w0, [x20]
Lloh13:
	adrp	x8, _NLM_LOCK_RES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NLM_LOCK_RES@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_getrpcaddr
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_transmit_result
	mov	x0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm_lock_msg_1_svc.res,8,2 ; @nlm_lock_msg_1_svc.res
	.comm	_debug_level,8,3                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm_lock_msg"

	.comm	_LOCK_ASYNC,4,2                 ; @LOCK_ASYNC
	.comm	_LOCK_MON,4,2                   ; @LOCK_MON
	.comm	_NLM_LOCK_RES,4,2               ; @NLM_LOCK_RES
.subsections_via_symbols
