	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_deliver_payload            ## -- Begin function xpc_deliver_payload
	.p2align	4, 0x90
_xpc_deliver_payload:                   ## @xpc_deliver_payload
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_xpc_msgqueue_ref
	movq	%rbx, %rdi
	callq	_atomic_inc
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_xpc_chan@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_dbg
	movq	_xpMsgReceived@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movl	12(%rbx), %r8d
	movq	%r14, %rcx
	callq	*16(%rbx)
	movl	(%r15), %edi
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_dev_dbg
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_dec                     ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_arch_ops,8,3               ## @xpc_arch_ops
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ch->func() called, payload=0x%p partid=%d channel=%d\n"

	.comm	_xpMsgReceived,4,2              ## @xpMsgReceived
L_.str.1:                               ## @.str.1
	.asciz	"ch->func() returned, payload=0x%p partid=%d channel=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_deliver_payload            ; -- Begin function xpc_deliver_payload
	.p2align	2
_xpc_deliver_payload:                   ; @xpc_deliver_payload
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_xpc_msgqueue_ref
	mov	x0, x19
	bl	_atomic_inc
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x21, _xpc_chan@GOTPAGE
Lloh4:
	ldr	x21, [x21, _xpc_chan@GOTPAGEOFF]
	ldr	w0, [x21]
	ldp	w4, w3, [x19, #4]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x9, _xpMsgReceived@GOTPAGE
Lloh8:
	ldr	x9, [x9, _xpMsgReceived@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	ldp	w2, w1, [x19, #4]
	ldr	w4, [x19, #12]
	mov	x3, x20
	blr	x8
	ldr	w0, [x21]
	ldp	w4, w3, [x19, #4]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_atomic_dec
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_arch_ops,8,3               ; @xpc_arch_ops
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ch->func() called, payload=0x%p partid=%d channel=%d\n"

	.comm	_xpMsgReceived,4,2              ; @xpMsgReceived
l_.str.1:                               ; @.str.1
	.asciz	"ch->func() returned, payload=0x%p partid=%d channel=%d\n"

.subsections_via_symbols
