	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function text_autoresize
_text_autoresize:                       ## @text_autoresize
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	jle	LBB0_7
## %bb.1:
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r12
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	16(%r13), %rax
	cmpq	(%rax), %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	movq	%r12, %rcx
	callq	*8(%r13)
	movl	%eax, %edi
	callq	_EFI_ERROR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	imulq	-56(%rbp), %rax
	cmpq	%r15, %rax
	cmovgq	%rax, %r15
	cmovgq	%rbx, %r14
	jmp	LBB0_4
LBB0_5:
	testq	%r15, %r15
	jle	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*(%r13)
LBB0_7:
	movq	_CMD_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST,8,3                         ## @ST
	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.no_dead_strip	_text_autoresize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function text_autoresize
_text_autoresize:                       ; @text_autoresize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _ST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x19, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
	mov	x22, #0
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cmp	x21, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x19
	mov	x1, x21
	blr	x8
	bl	_EFI_ERROR
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [sp]
	mul	x8, x9, x8
	cmp	x8, x22
	csel	x22, x8, x22, gt
	csel	x20, x21, x20, gt
	b	LBB0_2
LBB0_5:
	cmp	x22, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_7:
Lloh3:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ST,8,3                         ; @ST
	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.no_dead_strip	_text_autoresize
.subsections_via_symbols
