	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_test_msg_4_svc            ## -- Begin function nlm4_test_msg_4_svc
	.p2align	4, 0x90
_nlm4_test_msg_4_svc:                   ## @nlm4_test_msg_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_debug_level@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_log_from_addr
LBB0_2:
	leaq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	movq	_LOCK_V4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_testlock
	movl	(%rbx), %ecx
	movl	%ecx, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_nlm4_denied@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -36(%rbp)
	leaq	-40(%rbp), %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_5
LBB0_3:
	movq	_nlm4_granted@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
LBB0_5:
	movl	(%r14), %edi
	callq	_svc_getrpccaller
	movq	(%rax), %rdi
	movq	_NLM_VERS4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_client
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_NLM4_TEST_RES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_xdr_nlm4_testres@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_xdr_void@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	leaq	_nlm4_test_msg_4_svc.dummy(%rip), %r9
	leaq	-40(%rbp), %rcx
	movq	%rax, %rdi
	callq	_clnt_call
	cmpl	$3, (%r15)
	jl	LBB0_8
## %bb.7:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_syslog
LBB0_8:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm4_test_msg_4_svc.dummy,1,0 ## @nlm4_test_msg_4_svc.dummy
	.comm	_debug_level,4,2                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm4_test_msg"

	.comm	_LOCK_V4,4,2                    ## @LOCK_V4
	.comm	_nlm4_granted,4,2               ## @nlm4_granted
	.comm	_nlm4_denied,4,2                ## @nlm4_denied
	.comm	_NLM_VERS4,4,2                  ## @NLM_VERS4
	.comm	_NLM4_TEST_RES,4,2              ## @NLM4_TEST_RES
	.comm	_xdr_nlm4_testres,8,3           ## @xdr_nlm4_testres
	.comm	_xdr_void,8,3                   ## @xdr_void
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"clnt_call returns %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_test_msg_4_svc            ; -- Begin function nlm4_test_msg_4_svc
	.p2align	2
_nlm4_test_msg_4_svc:                   ; @nlm4_test_msg_4_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, _debug_level@GOTPAGE
Lloh1:
	ldr	x21, [x21, _debug_level@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_log_from_addr
LBB0_2:
	add	x0, x20, #8
	ldr	w1, [x20, #4]
Lloh4:
	adrp	x8, _LOCK_V4@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOCK_V4@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_testlock
	ldr	w8, [x20]
	str	w8, [sp, #8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh7:
	adrp	x8, _nlm4_denied@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nlm4_denied@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	mov	x0, sp
	mov	w2, #4
	bl	_memcpy
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _nlm4_granted@GOTPAGE
Lloh11:
	ldr	x8, [x8, _nlm4_granted@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #4]
LBB0_5:
	ldr	w0, [x19]
	bl	_svc_getrpccaller
	ldr	x0, [x0]
Lloh13:
	adrp	x8, _NLM_VERS4@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NLM_VERS4@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_get_client
	cbz	x0, LBB0_8
; %bb.6:
Lloh16:
	adrp	x8, _NLM4_TEST_RES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NLM4_TEST_RES@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _xdr_nlm4_testres@GOTPAGE
Lloh20:
	ldr	x8, [x8, _xdr_nlm4_testres@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _xdr_void@GOTPAGE
Lloh23:
	ldr	x8, [x8, _xdr_void@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
Lloh25:
	adrp	x5, _nlm4_test_msg_4_svc.dummy@PAGE
Lloh26:
	add	x5, x5, _nlm4_test_msg_4_svc.dummy@PAGEOFF
	mov	x3, sp
	mov	x6, #0
	mov	x7, #0
	bl	_clnt_call
	ldr	w8, [x21]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.7:
	mov	x2, x0
Lloh27:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
LBB0_8:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm4_test_msg_4_svc.dummy,1,0 ; @nlm4_test_msg_4_svc.dummy
	.comm	_debug_level,4,2                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm4_test_msg"

	.comm	_LOCK_V4,4,2                    ; @LOCK_V4
	.comm	_nlm4_granted,4,2               ; @nlm4_granted
	.comm	_nlm4_denied,4,2                ; @nlm4_denied
	.comm	_NLM_VERS4,4,2                  ; @NLM_VERS4
	.comm	_NLM4_TEST_RES,4,2              ; @NLM4_TEST_RES
	.comm	_xdr_nlm4_testres,8,3           ; @xdr_nlm4_testres
	.comm	_xdr_void,8,3                   ; @xdr_void
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"clnt_call returns %d"

.subsections_via_symbols
