	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_granted_4_svc             ## -- Begin function nlm4_granted_4_svc
	.p2align	4, 0x90
_nlm4_granted_4_svc:                    ## @nlm4_granted_4_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_debug_level@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_log_from_addr
LBB0_2:
	movl	4(%r14), %edi
	movq	_nlm4_granted@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_NLM_VERS4@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_lock_answer
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_nlm4_denied@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	movl	%eax, _nlm4_granted_4_svc.res+4(%rip)
	leaq	_nlm4_granted_4_svc.res(%rip), %rax
	movl	(%r14), %ecx
	movl	%ecx, _nlm4_granted_4_svc.res(%rip)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm4_granted_4_svc.res,8,2 ## @nlm4_granted_4_svc.res
	.comm	_debug_level,8,3                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm4_granted"

	.comm	_nlm4_granted,4,2               ## @nlm4_granted
	.comm	_NLM_VERS4,4,2                  ## @NLM_VERS4
	.comm	_nlm4_denied,4,2                ## @nlm4_denied
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_granted_4_svc             ; -- Begin function nlm4_granted_4_svc
	.p2align	2
_nlm4_granted_4_svc:                    ; @nlm4_granted_4_svc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, 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
	bl	_log_from_addr
LBB0_2:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x20, _nlm4_granted@GOTPAGE
Lloh6:
	ldr	x20, [x20, _nlm4_granted@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh7:
	adrp	x8, _NLM_VERS4@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NLM_VERS4@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_lock_answer
Lloh10:
	adrp	x8, _nlm4_denied@GOTPAGE
Lloh11:
	ldr	x8, [x8, _nlm4_denied@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x20, x8, eq
	ldr	w8, [x8]
	ldr	w9, [x19]
Lloh12:
	adrp	x0, _nlm4_granted_4_svc.res@PAGE
Lloh13:
	add	x0, x0, _nlm4_granted_4_svc.res@PAGEOFF
	stp	w9, w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm4_granted_4_svc.res,8,2 ; @nlm4_granted_4_svc.res
	.comm	_debug_level,8,3                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm4_granted"

	.comm	_nlm4_granted,4,2               ; @nlm4_granted
	.comm	_NLM_VERS4,4,2                  ; @NLM_VERS4
	.comm	_nlm4_denied,4,2                ; @nlm4_denied
.subsections_via_symbols
