	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recvrpc
_recvrpc:                               ## @recvrpc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_errno@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_readudp
	cmpl	$16, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	-56(%rbp), %r12
	movl	12(%r12), %edi
	callq	_ntohl
	movq	_rpc_xid@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.3:
	movl	8(%r12), %edi
	callq	_ntohl
	movq	_RPC_REPLY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.4:
	movl	4(%r12), %edi
	callq	_ntohl
	movq	_RPC_MSGACCEPTED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	movq	%r12, (%r14)
	jmp	LBB0_7
LBB0_5:
	movl	(%r12), %edi
	movl	%eax, %ebx
	callq	_ntohl
	movl	%eax, (%r13)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
LBB0_1:
	movq	-48(%rbp), %rdi
	callq	_free
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_rpc_xid,4,2                    ## @rpc_xid
	.comm	_RPC_REPLY,4,2                  ## @RPC_REPLY
	.comm	_RPC_MSGACCEPTED,4,2            ## @RPC_MSGACCEPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recvrpc: reject, astat=%d, errno=%d\n"

	.comm	_debug,8,3                      ## @debug
	.no_dead_strip	_recvrpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recvrpc
_recvrpc:                               ; @recvrpc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _errno@GOTPAGE
Lloh1:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	str	wzr, [x23]
	str	xzr, [sp, #24]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_readudp
	cmp	w0, #16
	b.le	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x24, [sp, #16]
	ldr	w0, [x24, #12]
	bl	_ntohl
Lloh2:
	adrp	x8, _rpc_xid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rpc_xid@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [x24, #8]
	bl	_ntohl
Lloh5:
	adrp	x8, _RPC_REPLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_REPLY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x24, #4]
	bl	_ntohl
Lloh8:
	adrp	x8, _RPC_MSGACCEPTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RPC_MSGACCEPTED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [sp, #24]
	str	x8, [x21]
	str	x24, [x20]
	b	LBB0_7
LBB0_5:
	mov	x22, x0
	ldr	w0, [x24]
	bl	_ntohl
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x23]
	stp	x22, x0, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_6:
	ldr	x0, [sp, #24]
	bl	_free
	mov	w19, #-1
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_rpc_xid,4,2                    ; @rpc_xid
	.comm	_RPC_REPLY,4,2                  ; @RPC_REPLY
	.comm	_RPC_MSGACCEPTED,4,2            ; @RPC_MSGACCEPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recvrpc: reject, astat=%d, errno=%d\n"

	.comm	_debug,8,3                      ; @debug
	.no_dead_strip	_recvrpc
.subsections_via_symbols
