	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_test_1_svc                 ## -- Begin function nlm_test_1_svc
	.p2align	4, 0x90
_nlm_test_1_svc:                        ## @nlm_test_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	$8, %rdi
	leaq	-24(%rbp), %rsi
	callq	_nlmtonlm4
	movq	_debug_level@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_log_from_addr
LBB0_2:
	movl	4(%r14), %esi
	leaq	-24(%rbp), %rdi
	xorl	%edx, %edx
	callq	_testlock
	movq	%rax, %rbx
	movl	(%r14), %eax
	movl	%eax, _nlm_test_1_svc.res+12(%rip)
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	_nlm_denied@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _nlm_test_1_svc.res+8(%rip)
	leaq	_nlm_test_1_svc.res(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%rbx), %eax
	movl	%eax, _nlm_test_1_svc.res+4(%rip)
	jmp	LBB0_5
LBB0_3:
	leaq	_nlm_test_1_svc.res+8(%rip), %r14
	movq	_nlm_granted@GOTPCREL(%rip), %rbx
LBB0_5:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	leaq	_nlm_test_1_svc.res(%rip), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm_test_1_svc.res,16,2 ## @nlm_test_1_svc.res
	.comm	_debug_level,8,3                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm_test"

	.comm	_nlm_granted,4,2                ## @nlm_granted
	.comm	_nlm_denied,4,2                 ## @nlm_denied
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_test_1_svc                 ; -- Begin function nlm_test_1_svc
	.p2align	2
_nlm_test_1_svc:                        ; @nlm_test_1_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #8
	add	x1, sp, #8
	bl	_nlmtonlm4
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:
	ldr	w1, [x20, #4]
	add	x0, sp, #8
	mov	w2, #0
	bl	_testlock
	ldr	w8, [x20]
Lloh5:
	adrp	x20, _nlm_test_1_svc.res@PAGE+8
Lloh6:
	add	x20, x20, _nlm_test_1_svc.res@PAGEOFF+8
	str	w8, [x20, #4]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x19, x0
Lloh7:
	adrp	x8, _nlm_denied@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nlm_denied@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x20, _nlm_test_1_svc.res@PAGE
Lloh11:
	add	x20, x20, _nlm_test_1_svc.res@PAGEOFF
	str	w8, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x19, #4]
	str	w8, [x20, #4]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x19, _nlm_granted@GOTPAGE
Lloh13:
	ldr	x19, [x19, _nlm_granted@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x19]
	str	w8, [x20]
Lloh14:
	adrp	x0, _nlm_test_1_svc.res@PAGE
Lloh15:
	add	x0, x0, _nlm_test_1_svc.res@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm_test_1_svc.res,16,2 ; @nlm_test_1_svc.res
	.comm	_debug_level,8,3                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm_test"

	.comm	_nlm_granted,4,2                ; @nlm_granted
	.comm	_nlm_denied,4,2                 ; @nlm_denied
.subsections_via_symbols
