	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shadow_fetch
_shadow_fetch:                          ## @shadow_fetch
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	leal	3(%r14), %ebx
	andl	$-4, %ebx
	movl	(%rdi), %r15d
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_nvbios_extend
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	movq	(%r13), %rax
	subl	%r15d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	*(%rax)
	addl	%r15d, %eax
	movl	%eax, (%r12)
	jmp	LBB0_3
LBB0_1:
	movl	(%r12), %eax
LBB0_3:
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	setge	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shadow_fetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shadow_fetch
_shadow_fetch:                          ; @shadow_fetch
	.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, x2
	mov	x22, x1
	mov	x20, x0
	add	w8, w2, #3
	and	w23, w8, #0xfffffffc
	ldr	w21, [x0]
	ldr	x24, [x1, #8]
	mov	x1, x23
	bl	_nvbios_extend
	cmp	x0, #0
	b.le	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	sub	w2, w23, w21
	mov	x0, x24
	mov	x1, x21
	mov	x3, x20
	blr	x8
	add	w8, w0, w21
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20]
LBB0_3:
	cmp	w8, w19
	cset	w0, ge
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shadow_fetch
.subsections_via_symbols
