	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_gop64
_setup_gop64:                           ## @setup_gop64
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -168(%rbp)
	movq	_EFI_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	$0, -80(%rbp)
	cmpq	$4, %rcx
	jb	LBB0_14
## %bb.1:
	movq	%r8, %r13
	movq	%rcx, %rbx
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	shrq	$2, %rbx
	xorl	%r12d, %r12d
	movq	_handle_protocol@GOTPCREL(%rip), %r15
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rsi
	movl	%eax, %r9d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	%r12, %rbx
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -112(%rbp)
	movq	_EFI_CONSOLE_OUT_DEVICE_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	$0, -160(%rbp)
	movl	(%r13,%r12,4), %ebx
	movl	(%r15), %edi
	movq	%rsi, %r14
	movl	%ebx, %esi
	leaq	-80(%rbp), %rcx
	callq	_efi_call_early
	cmpl	(%r14), %eax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	leaq	-100(%rbp), %rdx
	leaq	-160(%rbp), %rcx
	callq	_efi_call_early
	movl	%eax, %r13d
	movl	(%r14), %ebx
	cmpl	%ebx, %eax
	sete	%r15b
	movq	-80(%rbp), %rsi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	leaq	-112(%rbp), %rdx
	leaq	-168(%rbp), %rcx
	leaq	-96(%rbp), %r8
	callq	___gop_query64
	movq	%r14, %rsi
	movl	%eax, %r9d
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	sete	%al
	cmpl	(%r14), %r9d
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	orb	%r15b, %al
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rcx
	movl	(%rcx), %eax
	movq	_PIXEL_BLT_ONLY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rcx), %rdx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	16(%rcx), %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	4(%rcx), %edx
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	movl	8(%rcx), %ecx
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	-96(%rbp), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	cmpl	%ebx, %r13d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	_handle_protocol@GOTPCREL(%rip), %r15
	jmp	LBB0_4
LBB0_11:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_12:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	_VIDEO_TYPE_EFI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, 40(%rbx)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	%eax, (%rbx)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movl	$1, 12(%rbx)
	movq	%rbx, %rdi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r9d, %r14d
	callq	_setup_pixel_info
	movl	%r14d, %r9d
	movl	(%rbx), %eax
	imull	20(%rbx), %eax
	movl	%eax, 16(%rbx)
	movq	_VIDEO_CAPABILITY_SKIP_QUIRKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
LBB0_14:
	movl	%r9d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFI_NOT_FOUND,4,2              ## @EFI_NOT_FOUND
	.comm	_EFI_CONSOLE_OUT_DEVICE_GUID,4,2 ## @EFI_CONSOLE_OUT_DEVICE_GUID
	.comm	_handle_protocol,4,2            ## @handle_protocol
	.comm	_EFI_SUCCESS,4,2                ## @EFI_SUCCESS
	.comm	_PIXEL_BLT_ONLY,4,2             ## @PIXEL_BLT_ONLY
	.comm	_VIDEO_TYPE_EFI,4,2             ## @VIDEO_TYPE_EFI
	.comm	_VIDEO_CAPABILITY_64BIT_BASE,4,2 ## @VIDEO_CAPABILITY_64BIT_BASE
	.comm	_VIDEO_CAPABILITY_SKIP_QUIRKS,4,2 ## @VIDEO_CAPABILITY_SKIP_QUIRKS
	.no_dead_strip	_setup_gop64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_gop64
_setup_gop64:                           ; @setup_gop64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stur	x3, [x29, #-88]
Lloh0:
	adrp	x8, _EFI_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFI_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	str	xzr, [sp, #96]
	cmp	x3, #4
	b.lo	LBB0_12
; %bb.1:
	mov	x20, x4
	mov	x21, x2
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x27, #0
	lsr	x19, x3, #2
Lloh3:
	adrp	x22, _EFI_CONSOLE_OUT_DEVICE_GUID@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EFI_CONSOLE_OUT_DEVICE_GUID@GOTPAGEOFF]
Lloh5:
	adrp	x25, _handle_protocol@GOTPAGE
Lloh6:
	ldr	x25, [x25, _handle_protocol@GOTPAGEOFF]
Lloh7:
	adrp	x23, _EFI_SUCCESS@GOTPAGE
Lloh8:
	ldr	x23, [x23, _EFI_SUCCESS@GOTPAGEOFF]
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
                                        ; implicit-def: $w0
                                        ; kill: killed $w0
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #4
	subs	x19, x19, #1
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #88]
	ldr	w8, [x22]
	str	w8, [sp, #84]
	str	xzr, [sp, #72]
	ldr	w26, [x20]
	ldr	w0, [x25]
	add	x3, sp, #96
	mov	x1, x26
	mov	x2, x21
	bl	_efi_call_early
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	add	x2, sp, #84
	add	x3, sp, #72
	mov	x1, x26
	bl	_efi_call_early
	mov	x26, x0
	ldr	w28, [x23]
	ldr	x1, [sp, #96]
	add	x2, sp, #88
	sub	x3, x29, #88
	add	x4, sp, #68
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	___gop_query64
	mov	x24, x0
	ldr	w8, [x23]
	cmp	x27, #0
	ccmp	w26, w28, #4, ne
	cset	w9, eq
	cmp	w0, w8
	ccmp	w9, #0, #4, eq
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #88]
	ldr	w8, [x9]
Lloh9:
	adrp	x10, _PIXEL_BLT_ONLY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PIXEL_BLT_ONLY@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x9, #24]
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x10, [x9, #16]
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	ldp	w9, w10, [x9, #4]
	str	w10, [sp, #52]                  ; 4-byte Folded Spill
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w9, [sp, #68]
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x27, [sp, #96]
	cmp	w26, w28
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_9:
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
LBB0_10:
	cbz	x27, LBB0_12
; %bb.11:
Lloh12:
	adrp	x8, _VIDEO_TYPE_EFI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIDEO_TYPE_EFI@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	str	w8, [x19, #40]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x19, #32]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldp	w3, w8, [sp, #16]               ; 8-byte Folded Reload
	stp	w9, w8, [x19]
	mov	w8, #1
	str	w8, [x19, #12]
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	mov	w2, w8
	mov	x0, x19
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	bl	_setup_pixel_info
	ldr	w8, [x19]
	ldp	w9, w10, [x19, #20]
	mul	w8, w8, w9
	str	w8, [x19, #16]
Lloh15:
	adrp	x8, _VIDEO_CAPABILITY_SKIP_QUIRKS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VIDEO_CAPABILITY_SKIP_QUIRKS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x19, #24]
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EFI_NOT_FOUND,4,2              ; @EFI_NOT_FOUND
	.comm	_EFI_CONSOLE_OUT_DEVICE_GUID,4,2 ; @EFI_CONSOLE_OUT_DEVICE_GUID
	.comm	_handle_protocol,4,2            ; @handle_protocol
	.comm	_EFI_SUCCESS,4,2                ; @EFI_SUCCESS
	.comm	_PIXEL_BLT_ONLY,4,2             ; @PIXEL_BLT_ONLY
	.comm	_VIDEO_TYPE_EFI,4,2             ; @VIDEO_TYPE_EFI
	.comm	_VIDEO_CAPABILITY_64BIT_BASE,4,2 ; @VIDEO_CAPABILITY_64BIT_BASE
	.comm	_VIDEO_CAPABILITY_SKIP_QUIRKS,4,2 ; @VIDEO_CAPABILITY_SKIP_QUIRKS
	.no_dead_strip	_setup_gop64
.subsections_via_symbols
