	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_dg_recv
_svc_dg_recv:                           ## @svc_dg_recv
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_sx_xlock
	movl	$1000000000, -56(%rbp)          ## imm = 0x3B9ACA00
	movq	_curthread@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	$0, -48(%rbp)
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	8(%rbx), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r9
	xorl	%r8d, %r8d
	callq	_soreceive
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_SOCKBUF_LOCK
	movq	8(%rbx), %rdi
	callq	_soreadable
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_xprt_inactive_self
LBB0_3:
	movq	8(%rbx), %rdi
	callq	_SOCKBUF_UNLOCK
	jmp	LBB0_6
LBB0_4:
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	8(%rbx), %rdi
	callq	_SOCKBUF_LOCK
	movq	8(%rbx), %rdi
	movq	_SO_RCV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_soupcall_clear
	movq	8(%rbx), %rdi
	callq	_SOCKBUF_UNLOCK
	movq	%rbx, %rdi
	callq	_xprt_inactive_self
LBB0_6:
	movq	%rbx, %rdi
	callq	_sx_xunlock
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	callq	_sx_xunlock
	movq	-48(%rbp), %rsi
	movq	_XDR_DECODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_xdrmbuf_create
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_xdr_callmsg
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	-64(%rbp), %rax
	movq	%rax, (%r15)
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_xdrmbuf_getall
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_XDR_DESTROY
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	leaq	-36(%rbp), %rdi
	callq	_XDR_DESTROY
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,4,2                  ## @curthread
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ## @EWOULDBLOCK
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SO_RCV,4,2                     ## @SO_RCV
	.comm	_XDR_DECODE,4,2                 ## @XDR_DECODE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_svc_dg_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_dg_recv
_svc_dg_recv:                           ; @svc_dg_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_sx_xlock
	mov	w8, #51712
	movk	w8, #15258, lsl #16
Lloh0:
	adrp	x9, _curthread@GOTPAGE
Lloh1:
	ldr	x9, [x9, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	x0, [x19, #8]
	add	x1, sp, #16
	add	x2, sp, #24
	add	x3, sp, #8
	mov	x5, sp
	mov	x4, #0
	bl	_soreceive
Lloh6:
	adrp	x8, _EWOULDBLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EWOULDBLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_SOCKBUF_LOCK
	ldr	x0, [x19, #8]
	bl	_soreadable
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_xprt_inactive_self
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_SOCKBUF_UNLOCK
	b	LBB0_6
LBB0_4:
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x0, [x19, #8]
	bl	_SOCKBUF_LOCK
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _SO_RCV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SO_RCV@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_soupcall_clear
	ldr	x0, [x19, #8]
	bl	_SOCKBUF_UNLOCK
	mov	x0, x19
	bl	_xprt_inactive_self
LBB0_6:
	mov	x0, x19
	bl	_sx_xunlock
LBB0_7:
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	mov	x0, x19
	bl	_sx_xunlock
	ldr	x1, [sp, #8]
Lloh14:
	adrp	x8, _XDR_DECODE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XDR_DECODE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x0, sp, #4
	bl	_xdrmbuf_create
	add	x0, sp, #4
	mov	x1, x22
	bl	_xdr_callmsg
	cbz	w0, LBB0_11
; %bb.10:
	ldr	x8, [sp, #16]
	str	x8, [x21]
	add	x0, sp, #4
	bl	_xdrmbuf_getall
	str	x0, [x20]
	add	x0, sp, #4
	bl	_XDR_DESTROY
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	add	x0, sp, #4
	bl	_XDR_DESTROY
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,4,2                  ; @curthread
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EWOULDBLOCK,4,2                ; @EWOULDBLOCK
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SO_RCV,4,2                     ; @SO_RCV
	.comm	_XDR_DECODE,4,2                 ; @XDR_DECODE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_svc_dg_recv
.subsections_via_symbols
