	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_get_buffer              ## -- Begin function pullup_get_buffer
	.p2align	4, 0x90
_pullup_get_buffer:                     ## @pullup_get_buffer
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	cmpl	$1, %esi
	jg	LBB0_6
## %bb.1:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpl	%r14d, (%rax)
	je	LBB0_6
## %bb.3:
	movq	8(%rax), %rsi
	movq	(%rsi), %rax
	movslq	%r14d, %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
LBB0_6:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.7:
	movq	8(%r15), %rsi
	shlq	$3, %rax
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$8, %rbx
	cmpq	%rbx, %rax
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 8(%rcx)
	jne	LBB0_11
	jmp	LBB0_10
LBB0_12:
	cmpl	$2, %r14d
	jne	LBB0_13
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leal	1(%r14), %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rdx
	movq	(%rdx,%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_16
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$8, %rbx
	cmpq	%rbx, %rax
	je	LBB0_19
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, %cl
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rsi
	testb	$2, %cl
	je	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rsi,%rbx), %rdx
	cmpq	$0, 8(%rdx)
	jne	LBB0_18
LBB0_10:
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_pullup_alloc_buffer
	addq	8(%r15), %rbx
LBB0_5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pullup_lock_buffer             ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	callq	_pullup_alloc_buffer
	movq	16(%r15), %rax
	movq	8(%rax), %rbx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_get_buffer              ; -- Begin function pullup_get_buffer
	.p2align	2
_pullup_get_buffer:                     ; @pullup_get_buffer
	.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, x1
	mov	x20, x0
	cmp	w1, #1
	b.gt	LBB0_4
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w9, [x8]
	cmp	w9, w19
	b.eq	LBB0_4
; %bb.3:
	ldr	x1, [x8, #8]
	ldr	x8, [x1]
	ldr	x8, [x8, w19, sxtw #3]
	cbz	x8, LBB0_21
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x21, #0
	ldr	x9, [x20, #8]
	lsl	x8, x8, #3
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #8
	cmp	x8, x21
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x21]
	ldr	x11, [x10]
	cbnz	x11, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_6
; %bb.9:
	add	x1, x9, x21
	b	LBB0_19
LBB0_10:
	cmp	w19, #2
	b.ne	LBB0_12
LBB0_11:
	mov	x0, #0
	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
LBB0_12:
	mov	x21, #0
	add	w9, w19, #1
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x10, [x20, #8]
	ldr	x10, [x10, x21]
	ldr	x10, [x10]
	cbz	x10, LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x21, x21, #8
	cmp	x8, x21
	b.eq	LBB0_11
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	tbnz	w9, #0, LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x10, [x20, #8]
	tbz	w9, #1, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [x10, x21]
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_14
LBB0_18:
	add	x1, x10, x21
LBB0_19:
	mov	x0, x20
	bl	_pullup_alloc_buffer
	ldr	x8, [x20, #8]
	add	x0, x8, x21
LBB0_20:
	mov	x1, 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	_pullup_lock_buffer
LBB0_21:
	mov	x0, x20
	bl	_pullup_alloc_buffer
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	b	LBB0_20
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
