	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queueAllocMsg
_queueAllocMsg:                         ## @queueAllocMsg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_MSG_NEED
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	jne	LBB0_2
## %bb.9:
	cmpq	24(%rbx), %rcx
	jg	LBB0_2
## %bb.11:
	addq	%rax, %rcx
	movq	%rcx, %rdx
	jmp	LBB0_13
LBB0_3:
	leaq	(%rax,%rcx), %rdx
	cmpq	%rsi, %rax
	jle	LBB0_7
## %bb.4:
	cmpq	32(%rbx), %rdx
	jle	LBB0_13
## %bb.5:
	movq	40(%rbx), %rdi
	addq	%rdi, %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_2
## %bb.12:
	movq	%rax, 16(%rbx)
	movq	%rdi, (%rbx)
	movq	%rcx, %rdx
	movq	%rdi, %rax
	jmp	LBB0_13
LBB0_7:
	cmpq	%rsi, %rdx
	jle	LBB0_13
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_13:
	movq	_MSG_INCOMPLETE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	%r14, %rcx
	movq	%rcx, (%rax)
	movq	%rdx, (%rbx)
	addq	%r14, 48(%rbx)
	addq	$8, %rax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INCOMPLETE,8,3             ## @MSG_INCOMPLETE
	.no_dead_strip	_queueAllocMsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queueAllocMsg
_queueAllocMsg:                         ; @queueAllocMsg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_MSG_NEED
	mov	x8, x0
	ldp	x0, x10, [x19]
	cmp	x0, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	x9, [x19, #16]
	cbnz	x9, LBB0_9
; %bb.2:
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.gt	LBB0_9
; %bb.3:
	add	x9, x0, x8
	b	LBB0_10
LBB0_4:
	add	x9, x0, x8
	b.le	LBB0_8
; %bb.5:
	ldr	x11, [x19, #32]
	cmp	x9, x11
	b.le	LBB0_10
; %bb.6:
	ldr	x11, [x19, #40]
	add	x9, x11, x8
	cmp	x9, x10
	b.gt	LBB0_9
; %bb.7:
	str	x0, [x19, #16]
	str	x11, [x19]
	mov	x0, x11
	b	LBB0_10
LBB0_8:
	cmp	x9, x10
	b.le	LBB0_10
LBB0_9:
	mov	x0, #0
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _MSG_INCOMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INCOMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	orr	x8, x8, x20
	str	x8, [x0], #8
	str	x9, [x19]
	ldr	x8, [x19, #48]
	add	x8, x8, x20
	str	x8, [x19, #48]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INCOMPLETE,8,3             ; @MSG_INCOMPLETE
	.no_dead_strip	_queueAllocMsg
.subsections_via_symbols
