	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_get_frame               ## -- Begin function pullup_get_frame
	.p2align	4, 0x90
_pullup_get_frame:                      ## @pullup_get_frame
	.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, %r13
	movq	16(%rdi), %r15
	callq	_pullup_decide_frame_length
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpq	$0, 40(%r15)
	je	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
LBB0_28:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, %r14d
	movq	(%r13), %rsi
	movq	24(%rsi), %rax
	movl	(%rax), %r12d
	cmpq	$0, 8(%r13)
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_pullup_print_aff_and_breaks
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
	movq	40(%r15), %rax
	movq	(%r13), %rsi
	incq	%rax
	jmp	LBB0_7
LBB0_6:
	movl	$1, %eax
LBB0_7:
	movq	%rax, 40(%r15)
	movl	%r14d, (%r15)
	movq	8(%rsi), %rax
	movq	%rax, 8(%r15)
	movq	$0, 16(%r15)
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.8:
	movq	24(%r15), %rcx
	movl	%r14d, %edi
	leaq	-1(%rdi), %rdx
	movl	%edi, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_10
## %bb.9:
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_10:
	andl	$-4, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rsi), %rbx
	movq	%rbx, (%rcx,%rdx,8)
	movq	$0, 16(%rsi)
	movq	24(%rsi), %rsi
	movq	16(%rsi), %rbx
	movq	%rbx, 8(%rcx,%rdx,8)
	movq	$0, 16(%rsi)
	movq	24(%rsi), %rsi
	movq	16(%rsi), %rbx
	movq	%rbx, 16(%rcx,%rdx,8)
	movq	$0, 16(%rsi)
	movq	24(%rsi), %rsi
	movq	16(%rsi), %rbx
	movq	%rbx, 24(%rcx,%rdx,8)
	movq	$0, 16(%rsi)
	movq	24(%rsi), %rsi
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_11
LBB0_12:
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	leaq	(%rcx,%rdx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rsi), %rdi
	movq	%rdi, (%rcx,%rdx,8)
	movq	$0, 16(%rsi)
	movq	24(%rsi), %rsi
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_14
LBB0_15:
	movq	%rsi, (%r13)
LBB0_16:
	cmpl	$1, %r14d
	je	LBB0_22
## %bb.17:
	cmpl	$2, %r14d
	je	LBB0_23
## %bb.18:
	cmpl	$3, %r14d
	jne	LBB0_25
## %bb.19:
	movq	24(%r15), %rcx
	testl	%r12d, %r12d
	jne	LBB0_21
## %bb.20:
	movq	(%rcx), %rax
	xorl	%edx, %edx
	cmpq	8(%rcx), %rax
	setne	%dl
	leal	(%rdx,%rdx), %r12d
	decl	%r12d
LBB0_21:
	movslq	%r12d, %rax
	movq	8(%rcx,%rax,8), %rdx
	movq	8(%r15), %rsi
	movq	32(%r15), %rax
	movq	%rdx, (%rax,%rsi,8)
	movq	8(%rcx), %rcx
	jmp	LBB0_24
LBB0_22:
	movq	8(%r15), %rcx
	movq	24(%r15), %rax
	movq	(%rax), %rdx
	movq	32(%r15), %rax
	movq	%rdx, (%rax,%rcx,8)
	movq	8(%r15), %rcx
	xorq	$1, %rcx
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_26
LBB0_23:
	movq	8(%r15), %rcx
	movq	24(%r15), %rdx
	movq	(%rdx), %rsi
	movq	32(%r15), %rax
	movq	%rsi, (%rax,%rcx,8)
	movq	8(%rdx), %rcx
LBB0_24:
	movq	8(%r15), %rdx
	xorq	$1, %rdx
	movq	%rcx, (%rax,%rdx,8)
	jmp	LBB0_26
LBB0_25:
	movq	32(%r15), %rax
LBB0_26:
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_pullup_lock_buffer
	movq	32(%r15), %rax
	movq	8(%rax), %rdi
	movl	$1, %esi
	callq	_pullup_lock_buffer
	movq	32(%r15), %rax
	movq	(%rax), %rdi
	cmpq	8(%rax), %rdi
	jne	LBB0_28
## %bb.27:
	movq	%rdi, 16(%r15)
	movl	$2, %esi
	callq	_pullup_lock_buffer
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"duration: %d    \n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_get_frame               ; -- Begin function pullup_get_frame
	.p2align	2
_pullup_get_frame:                      ; @pullup_get_frame
	.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	x21, x0
	ldr	x19, [x0, #16]
	bl	_pullup_decide_frame_length
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
LBB0_2:
	mov	x19, #0
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
	ret
LBB0_4:
	mov	x20, x0
	ldp	x1, x8, [x21]
	ldr	x9, [x1, #24]
	ldr	w22, [x9]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_pullup_print_aff_and_breaks
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_printf
	ldr	x8, [x19, #40]
	ldr	x1, [x21]
	add	x8, x8, #1
	b	LBB0_7
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	x8, [x19, #40]
	str	w20, [x19]
	ldr	x8, [x1, #8]
	stp	x8, xzr, [x19, #8]
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.8:
	ldr	x8, [x19, #24]
	mov	w9, w20
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x1, #16]
	str	x10, [x8], #8
	str	xzr, [x1, #16]
	ldr	x1, [x1, #24]
	subs	x9, x9, #1
	b.ne	LBB0_9
; %bb.10:
	str	x1, [x21]
LBB0_11:
	cmp	w20, #1
	b.eq	LBB0_17
; %bb.12:
	cmp	w20, #2
	b.eq	LBB0_18
; %bb.13:
	cmp	w20, #3
	b.ne	LBB0_20
; %bb.14:
	ldr	x9, [x19, #24]
	cbnz	w22, LBB0_16
; %bb.15:
	ldp	x8, x10, [x9]
	cmp	x8, x10
	mov	w8, #-1
	cneg	w22, w8, ne
LBB0_16:
	add	w8, w22, #1
	ldr	x10, [x9, w8, sxtw #3]
	ldr	x8, [x19, #32]
	b	LBB0_19
LBB0_17:
	ldp	x9, x8, [x19, #24]
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	str	x9, [x8, x10, lsl #3]
	ldr	x9, [x19, #8]
	eor	x9, x9, #0x1
	str	xzr, [x8, x9, lsl #3]
	b	LBB0_21
LBB0_18:
	ldp	x9, x8, [x19, #24]
	ldr	x10, [x9]
LBB0_19:
	ldr	x11, [x19, #8]
	str	x10, [x8, x11, lsl #3]
	ldr	x9, [x9, #8]
	ldr	x10, [x19, #8]
	eor	x10, x10, #0x1
	str	x9, [x8, x10, lsl #3]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x19, #32]
LBB0_21:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_pullup_lock_buffer
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #8]
	mov	w1, #1
	bl	_pullup_lock_buffer
	ldr	x8, [x19, #32]
	ldp	x0, x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.22:
	str	x0, [x19, #16]
	mov	w1, #2
	bl	_pullup_lock_buffer
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"duration: %d    \n"

.subsections_via_symbols
