	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_granted_msg_1_svc          ## -- Begin function nlm_granted_msg_1_svc
	.p2align	4, 0x90
_nlm_granted_msg_1_svc:                 ## @nlm_granted_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_debug_level@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_log_from_addr
LBB0_2:
	movl	(%rbx), %eax
	movl	%eax, _nlm_granted_msg_1_svc.res+4(%rip)
	leaq	_nlm_granted_msg_1_svc.res(%rip), %r14
	movl	4(%rbx), %edi
	movq	_nlm_granted@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_NLM_VERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_lock_answer
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_nlm_denied@GOTPCREL(%rip), %r12
LBB0_4:
	movl	(%r12), %eax
	movl	%eax, _nlm_granted_msg_1_svc.res(%rip)
	movq	_NLM_GRANTED_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_getrpcaddr
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_transmit_result
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm_granted_msg_1_svc.res,8,2 ## @nlm_granted_msg_1_svc.res
	.comm	_debug_level,8,3                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm_granted_msg"

	.comm	_nlm_granted,4,2                ## @nlm_granted
	.comm	_NLM_VERS,4,2                   ## @NLM_VERS
	.comm	_nlm_denied,4,2                 ## @nlm_denied
	.comm	_NLM_GRANTED_RES,4,2            ## @NLM_GRANTED_RES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_granted_msg_1_svc          ; -- Begin function nlm_granted_msg_1_svc
	.p2align	2
_nlm_granted_msg_1_svc:                 ; @nlm_granted_msg_1_svc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _debug_level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug_level@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_log_from_addr
LBB0_2:
Lloh5:
	adrp	x21, _nlm_granted_msg_1_svc.res@PAGE
Lloh6:
	add	x21, x21, _nlm_granted_msg_1_svc.res@PAGEOFF
	ldp	w8, w0, [x20]
	str	w8, [x21, #4]
Lloh7:
	adrp	x22, _nlm_granted@GOTPAGE
Lloh8:
	ldr	x22, [x22, _nlm_granted@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh9:
	adrp	x8, _NLM_VERS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NLM_VERS@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, #0
	bl	_lock_answer
Lloh12:
	adrp	x8, _nlm_denied@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nlm_denied@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x22, x8, eq
	ldr	w8, [x8]
	str	w8, [x21]
Lloh14:
	adrp	x8, _NLM_GRANTED_RES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NLM_GRANTED_RES@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_getrpcaddr
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_transmit_result
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm_granted_msg_1_svc.res,8,2 ; @nlm_granted_msg_1_svc.res
	.comm	_debug_level,8,3                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm_granted_msg"

	.comm	_nlm_granted,4,2                ; @nlm_granted
	.comm	_NLM_VERS,4,2                   ; @NLM_VERS
	.comm	_nlm_denied,4,2                 ; @nlm_denied
	.comm	_NLM_GRANTED_RES,4,2            ; @NLM_GRANTED_RES
.subsections_via_symbols
