	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_dg_reply
_svc_dg_reply:                          ## @svc_dg_reply
	.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	%rcx, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_m_gethdr
	movq	%rax, %r12
	movq	_XDR_ENCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	callq	_xdrmbuf_create
	movq	(%r15), %rax
	movq	_MSG_ACCEPTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%r15), %rax
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	leaq	-44(%rbp), %rdi
	movq	%r15, %rsi
	callq	_xdr_replymsg
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-44(%rbp), %rdi
	movq	%r13, %rsi
	callq	_xdrmbuf_append
	testq	%rbx, %rbx
	jne	LBB0_7
	jmp	LBB0_9
LBB0_5:
	leaq	-44(%rbp), %rdi
	movq	%r15, %rsi
	callq	_xdr_replymsg
	movq	%rax, %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_7:
	movq	%r12, %rdi
	callq	_m_fixhdr
	movl	8(%r14), %edi
	movq	_curthread@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sosend
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_10
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_9:
	movq	%r12, %rdi
	callq	_m_freem
	xorl	%ebx, %ebx
LBB0_10:
	leaq	-44(%rbp), %rdi
	callq	_XDR_DESTROY
	movq	$0, (%r14)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_MT_DATA,4,2                    ## @MT_DATA
	.comm	_XDR_ENCODE,4,2                 ## @XDR_ENCODE
	.comm	_MSG_ACCEPTED,8,3               ## @MSG_ACCEPTED
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_curthread,4,2                  ## @curthread
	.no_dead_strip	_svc_dg_reply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_dg_reply
_svc_dg_reply:                          ; @svc_dg_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _TRUE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	ldr	x21, [x25]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _MT_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_m_gethdr
	mov	x22, x0
Lloh8:
	adrp	x8, _XDR_ENCODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XDR_ENCODE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, x22
	bl	_xdrmbuf_create
	ldr	x8, [x24]
Lloh11:
	adrp	x9, _MSG_ACCEPTED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MSG_ACCEPTED@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x24, #8]
Lloh14:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	add	x0, sp, #12
	mov	x1, x24
	bl	_xdr_replymsg
	cbz	x0, LBB0_6
; %bb.3:
	add	x0, sp, #12
	mov	x1, x23
	bl	_xdrmbuf_append
	cbnz	x21, LBB0_5
	b	LBB0_7
LBB0_4:
	add	x0, sp, #12
	mov	x1, x24
	bl	_xdr_replymsg
	mov	x21, x0
	cbz	x21, LBB0_7
LBB0_5:
	mov	x0, x22
	bl	_m_fixhdr
	ldr	w0, [x19, #8]
Lloh17:
	adrp	x8, _curthread@GOTPAGE
Lloh18:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh19:
	ldr	w6, [x8]
	mov	x1, x20
	mov	x2, #0
	mov	x3, x22
	mov	x4, #0
	mov	w5, #0
	bl	_sosend
	ldr	x8, [x25]
	cmp	w0, #0
	csel	x20, x8, x21, eq
	b	LBB0_8
LBB0_6:
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x8]
	cbnz	x21, LBB0_5
LBB0_7:
	mov	x0, x22
	bl	_m_freem
	mov	x20, #0
LBB0_8:
	add	x0, sp, #12
	bl	_XDR_DESTROY
	str	xzr, [x19]
	mov	x0, x20
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_MT_DATA,4,2                    ; @MT_DATA
	.comm	_XDR_ENCODE,4,2                 ; @XDR_ENCODE
	.comm	_MSG_ACCEPTED,8,3               ; @MSG_ACCEPTED
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_curthread,4,2                  ; @curthread
	.no_dead_strip	_svc_dg_reply
.subsections_via_symbols
