	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function combios_parse_mmio_table
_combios_parse_mmio_table:              ## @combios_parse_mmio_table
	.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
	testl	%esi, %esi
	je	LBB0_19
## %bb.1:
	movl	%esi, %r15d
	movl	%esi, %edi
	callq	_RBIOS16
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	callq	_RBIOS32
	movl	%eax, %ebx
	leal	6(%r15), %edi
	callq	_RBIOS32
	movl	%eax, %r12d
	addl	$10, %r15d
	movl	%r14d, %edi
	callq	_RREG32
	andl	%eax, %ebx
	orl	%r12d, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	callq	_WREG32
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	callq	_RBIOS16
	movl	%r12d, %r15d
	testl	%eax, %eax
	je	LBB0_19
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movl	%r15d, %edi
	callq	_RBIOS16
	movl	%eax, %ebx
	shrl	$13, %ebx
	andl	$7, %ebx
	movl	%r15d, %edi
	callq	_RBIOS16
	leal	2(%r15), %r12d
	cmpl	$5, %ebx
	ja	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %r14d
	andl	$8191, %r14d                    ## imm = 0x1FFF
	movslq	(%r13,%rbx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	callq	_RBIOS32
	addl	$6, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	jmp	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	callq	_RBIOS16
	addl	$4, %r15d
	movl	%eax, %edi
	callq	_udelay
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %edi
	callq	_RBIOS16
	movl	%eax, %ebx
	addl	$4, %r15d
	cmpl	$8, %r14d
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$9, %r14d
	jne	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	movq	_RADEON_MC_STATUS@GOTPCREL(%rip), %r14
	movq	_RADEON_MC_IDLE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decl	%ebx
	je	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	(%r14), %edi
	callq	_RREG32
	testl	%eax, (%r12)
	je	LBB0_14
	jmp	LBB0_5
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	movq	_RADEON_CLK_PWRMGT_CNTL@GOTPCREL(%rip), %r14
	movq	_RADEON_MC_BUSY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decl	%ebx
	je	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	(%r14), %edi
	callq	_RREG32_PLL
	testl	%eax, (%r12)
	jne	LBB0_17
	jmp	LBB0_5
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_RADEON_CLK_PWRMGT_CNTL,4,2     ## @RADEON_CLK_PWRMGT_CNTL
	.comm	_RADEON_MC_BUSY,4,2             ## @RADEON_MC_BUSY
	.comm	_RADEON_MC_STATUS,4,2           ## @RADEON_MC_STATUS
	.comm	_RADEON_MC_IDLE,4,2             ## @RADEON_MC_IDLE
	.no_dead_strip	_combios_parse_mmio_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combios_parse_mmio_table
_combios_parse_mmio_table:              ; @combios_parse_mmio_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	w1, LBB0_18
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	bl	_RBIOS16
	cbz	w0, LBB0_18
; %bb.2:
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x25, _RADEON_CLK_PWRMGT_CNTL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RADEON_CLK_PWRMGT_CNTL@GOTPAGEOFF]
Lloh4:
	adrp	x26, _RADEON_MC_BUSY@GOTPAGE
Lloh5:
	ldr	x26, [x26, _RADEON_MC_BUSY@GOTPAGEOFF]
Lloh6:
	adrp	x27, _RADEON_MC_STATUS@GOTPAGE
Lloh7:
	ldr	x27, [x27, _RADEON_MC_STATUS@GOTPAGEOFF]
Lloh8:
	adrp	x28, _RADEON_MC_IDLE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _RADEON_MC_IDLE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_RBIOS32
	mov	x1, x0
	add	w19, w20, #6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_WREG32
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_RBIOS16
	mov	x20, x19
	cbz	w0, LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	mov	x0, x20
	bl	_RBIOS16
	ubfx	w22, w0, #13, #3
	mov	x0, x20
	bl	_RBIOS16
	add	w19, w20, #2
	cmp	w22, #5
	b.hi	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w21, w0, #0x1fff
	adr	x8, LBB0_3
	ldrb	w9, [x24, x22]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_RBIOS32
	mov	x22, x0
	add	w0, w20, #6
	bl	_RBIOS32
	mov	x23, x0
	add	w19, w20, #10
	mov	x0, x21
	bl	_RREG32
	and	w8, w0, w22
	orr	w1, w8, w23
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_RBIOS16
	add	w19, w20, #4
	bl	_udelay
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_RBIOS16
	add	w19, w20, #4
	cmp	w21, #8
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w21, #9
	b.ne	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w0, #1
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w20, w20, #1
	b.eq	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x27]
	bl	_RREG32
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_13
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w0, #1
LBB0_16:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w20, w20, #1
	b.eq	LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w0, [x25]
	bl	_RREG32_PLL
	ldr	w8, [x26]
	tst	w8, w0
	b.ne	LBB0_16
	b	LBB0_5
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_RADEON_CLK_PWRMGT_CNTL,4,2     ; @RADEON_CLK_PWRMGT_CNTL
	.comm	_RADEON_MC_BUSY,4,2             ; @RADEON_MC_BUSY
	.comm	_RADEON_MC_STATUS,4,2           ; @RADEON_MC_STATUS
	.comm	_RADEON_MC_IDLE,4,2             ; @RADEON_MC_IDLE
	.no_dead_strip	_combios_parse_mmio_table
.subsections_via_symbols
