	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_read_disabled_bios
_radeon_read_disabled_bios:             ## @radeon_read_disabled_bios
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RADEON_IS_IGP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.6:
	popq	%rbp
	jmp	_igp_read_bios_from_vram        ## TAILCALL
LBB0_1:
	movq	8(%rdi), %rax
	movq	_CHIP_BARTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.2:
	movq	_CHIP_RV770@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_8
## %bb.3:
	movq	_CHIP_R600@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.4:
	movq	_CHIP_RS600@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_10
## %bb.5:
	popq	%rbp
	jmp	_legacy_read_disabled_bios      ## TAILCALL
LBB0_7:
	popq	%rbp
	jmp	_ni_read_disabled_bios          ## TAILCALL
LBB0_8:
	popq	%rbp
	jmp	_r700_read_disabled_bios        ## TAILCALL
LBB0_9:
	popq	%rbp
	jmp	_r600_read_disabled_bios        ## TAILCALL
LBB0_10:
	popq	%rbp
	jmp	_avivo_read_disabled_bios       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_IS_IGP,4,2              ## @RADEON_IS_IGP
	.comm	_CHIP_BARTS,8,3                 ## @CHIP_BARTS
	.comm	_CHIP_RV770,8,3                 ## @CHIP_RV770
	.comm	_CHIP_R600,8,3                  ## @CHIP_R600
	.comm	_CHIP_RS600,8,3                 ## @CHIP_RS600
	.no_dead_strip	_radeon_read_disabled_bios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_read_disabled_bios
_radeon_read_disabled_bios:             ; @radeon_read_disabled_bios
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RADEON_IS_IGP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADEON_IS_IGP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	b	_igp_read_bios_from_vram
LBB0_2:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _CHIP_BARTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHIP_BARTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.3:
Lloh6:
	adrp	x9, _CHIP_RV770@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHIP_RV770@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.4:
Lloh9:
	adrp	x9, _CHIP_R600@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CHIP_R600@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.5:
Lloh12:
	adrp	x9, _CHIP_RS600@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CHIP_RS600@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.6:
	b	_legacy_read_disabled_bios
LBB0_7:
	b	_ni_read_disabled_bios
LBB0_8:
	b	_r700_read_disabled_bios
LBB0_9:
	b	_r600_read_disabled_bios
LBB0_10:
	b	_avivo_read_disabled_bios
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_IS_IGP,4,2              ; @RADEON_IS_IGP
	.comm	_CHIP_BARTS,8,3                 ; @CHIP_BARTS
	.comm	_CHIP_RV770,8,3                 ; @CHIP_RV770
	.comm	_CHIP_R600,8,3                  ; @CHIP_R600
	.comm	_CHIP_RS600,8,3                 ; @CHIP_RS600
	.no_dead_strip	_radeon_read_disabled_bios
.subsections_via_symbols
