	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_allocate_msg_wait          ## -- Begin function xpc_allocate_msg_wait
	.p2align	4, 0x90
_xpc_allocate_msg_wait:                 ## @xpc_allocate_msg_wait
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEFINE_WAIT
	movq	_XPC_C_DISCONNECTING@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_xpInterrupted@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_DBUG_ON
	movl	8(%rbx), %ebx
	jmp	LBB0_8
LBB0_2:
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_atomic_inc
	leaq	20(%rbx), %r12
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wait@GOTPCREL(%rip), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_prepare_to_wait
	movl	$1, %edi
	callq	_schedule_timeout
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_finish_wait
	movq	%r15, %rdi
	callq	_atomic_dec
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rbx
	movq	_xpInterrupted@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	sete	%dil
	callq	_DBUG_ON
	jmp	LBB0_8
LBB0_4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.6:
	movq	_xpInterrupted@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_xpTimeout@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_XPC_C_DISCONNECTING,4,2        ## @XPC_C_DISCONNECTING
	.comm	_xpInterrupted,8,3              ## @xpInterrupted
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_xpTimeout,4,2                  ## @xpTimeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_allocate_msg_wait          ; -- Begin function xpc_allocate_msg_wait
	.p2align	2
_xpc_allocate_msg_wait:                 ; @xpc_allocate_msg_wait
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DEFINE_WAIT
	ldr	w8, [x19]
Lloh3:
	adrp	x24, _XPC_C_DISCONNECTING@GOTPAGE
Lloh4:
	ldr	x24, [x24, _XPC_C_DISCONNECTING@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _xpInterrupted@GOTPAGE
Lloh6:
	ldr	x9, [x9, _xpInterrupted@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_DBUG_ON
	ldr	w19, [x19, #8]
	b	LBB0_8
LBB0_2:
	add	x21, x19, #16
	mov	x0, x21
	bl	_atomic_inc
	add	x22, x19, #20
Lloh8:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x23, _wait@GOTPAGE
Lloh12:
	ldr	x23, [x23, _wait@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x23
	bl	_prepare_to_wait
	mov	w0, #1
	bl	_schedule_timeout
	mov	x20, x0
	mov	x0, x22
	mov	x1, x23
	bl	_finish_wait
	mov	x0, x21
	bl	_atomic_dec
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x19, [x19, #8]
Lloh13:
	adrp	x8, _xpInterrupted@GOTPAGE
Lloh14:
	ldr	x8, [x8, _xpInterrupted@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x19, x8
	cset	w0, eq
	bl	_DBUG_ON
	b	LBB0_8
LBB0_4:
	cbz	w20, LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _xpInterrupted@GOTPAGE
Lloh17:
	ldr	x8, [x8, _xpInterrupted@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _xpTimeout@GOTPAGE
Lloh19:
	ldr	x8, [x8, _xpTimeout@GOTPAGEOFF]
LBB0_7:
	ldr	w19, [x8]
LBB0_8:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_XPC_C_DISCONNECTING,4,2        ; @XPC_C_DISCONNECTING
	.comm	_xpInterrupted,8,3              ; @xpInterrupted
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_xpTimeout,4,2                  ; @xpTimeout
.subsections_via_symbols
