	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_olpc_read
_pci_olpc_read:                         ## @pci_olpc_read
	.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
	movq	%r9, %r15
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_is_simulated
	testl	%eax, %eax
	je	LBB0_28
## %bb.1:
	cmpl	$111, %r12d
	jle	LBB0_3
## %bb.2:
	movq	_zero_loc@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_28:
	movq	_pci_direct_conf1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	movq	%r15, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	_ff_loc@GOTPCREL(%rip), %rax
	cmpl	$119, %r13d
	jle	LBB0_4
## %bb.9:
	addl	$-120, %r13d
	cmpl	$5, %r13d
	ja	LBB0_22
## %bb.10:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r13,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_17:
	movq	_isa_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_4:
	cmpl	$8, %r13d
	je	LBB0_11
## %bb.5:
	cmpl	$9, %r13d
	je	LBB0_14
## %bb.6:
	cmpl	$10, %r13d
	jne	LBB0_22
## %bb.7:
	movq	_is_lx@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_22
## %bb.8:
	movq	_aes_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movq	_ac97_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_ohci_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_ehci_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_11:
	movq	_is_lx@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_12
## %bb.13:
	movq	_gxnb_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_is_lx@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_15
## %bb.16:
	movq	_gxfb_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_12:
	movq	_lxnb_hdr@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_lxfb_hdr@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_hdr_addr
LBB0_22:
	cmpl	$4, %r14d
	je	LBB0_25
## %bb.23:
	cmpl	$2, %r14d
	je	LBB0_25
## %bb.24:
	cmpl	$1, %r14d
	jne	LBB0_26
LBB0_25:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_27
LBB0_26:
	xorl	%eax, %eax
	callq	_BUG
LBB0_27:
	xorl	%eax, %eax
	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_17, LBB0_17-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_pci_direct_conf1,8,3           ## @pci_direct_conf1
	.comm	_zero_loc,4,2                   ## @zero_loc
	.comm	_is_lx,4,2                      ## @is_lx
	.comm	_lxnb_hdr,4,2                   ## @lxnb_hdr
	.comm	_gxnb_hdr,4,2                   ## @gxnb_hdr
	.comm	_lxfb_hdr,4,2                   ## @lxfb_hdr
	.comm	_gxfb_hdr,4,2                   ## @gxfb_hdr
	.comm	_aes_hdr,4,2                    ## @aes_hdr
	.comm	_ff_loc,4,2                     ## @ff_loc
	.comm	_isa_hdr,4,2                    ## @isa_hdr
	.comm	_ac97_hdr,4,2                   ## @ac97_hdr
	.comm	_ohci_hdr,4,2                   ## @ohci_hdr
	.comm	_ehci_hdr,4,2                   ## @ehci_hdr
	.no_dead_strip	_pci_olpc_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_olpc_read
_pci_olpc_read:                         ; @pci_olpc_read
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	x0, x1
	mov	x1, x2
	bl	_is_simulated
	cbz	w0, LBB0_3
; %bb.1:
	cmp	w21, #111
	b.le	LBB0_4
; %bb.2:
Lloh0:
	adrp	x0, _zero_loc@GOTPAGE
Lloh1:
	ldr	x0, [x0, _zero_loc@GOTPAGEOFF]
	cmp	w20, #4
	b.ne	LBB0_21
	b	LBB0_23
LBB0_3:
Lloh2:
	adrp	x8, _pci_direct_conf1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pci_direct_conf1@GOTPAGEOFF]
Lloh4:
	ldr	x6, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	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
	br	x6
LBB0_4:
Lloh5:
	adrp	x0, _ff_loc@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ff_loc@GOTPAGEOFF]
	cmp	w22, #119
	b.le	LBB0_8
; %bb.5:
	sub	w8, w22, #120
	cmp	w8, #5
	b.hi	LBB0_20
; %bb.6:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh9:
	adrp	x8, _isa_hdr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _isa_hdr@GOTPAGEOFF]
	b	LBB0_19
LBB0_8:
	cmp	w22, #8
	b.eq	LBB0_16
; %bb.9:
	cmp	w22, #9
	b.eq	LBB0_17
; %bb.10:
	cmp	w22, #10
	b.ne	LBB0_20
; %bb.11:
Lloh11:
	adrp	x8, _is_lx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _is_lx@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_26
; %bb.12:
Lloh14:
	adrp	x8, _aes_hdr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _aes_hdr@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:
Lloh16:
	adrp	x8, _ac97_hdr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ac97_hdr@GOTPAGEOFF]
	b	LBB0_19
LBB0_14:
Lloh18:
	adrp	x8, _ohci_hdr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ohci_hdr@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
Lloh20:
	adrp	x8, _ehci_hdr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ehci_hdr@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
Lloh22:
	adrp	x8, _is_lx@GOTPAGE
Lloh23:
	ldr	x8, [x8, _is_lx@GOTPAGEOFF]
Lloh24:
	adrp	x9, _lxnb_hdr@GOTPAGE
Lloh25:
	ldr	x9, [x9, _lxnb_hdr@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x10, _gxnb_hdr@GOTPAGE
Lloh28:
	ldr	x10, [x10, _gxnb_hdr@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh29:
	adrp	x8, _is_lx@GOTPAGE
Lloh30:
	ldr	x8, [x8, _is_lx@GOTPAGEOFF]
Lloh31:
	adrp	x9, _lxfb_hdr@GOTPAGE
Lloh32:
	ldr	x9, [x9, _lxfb_hdr@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x10, _gxfb_hdr@GOTPAGE
Lloh35:
	ldr	x10, [x10, _gxfb_hdr@GOTPAGEOFF]
LBB0_18:
	cmp	w8, #0
	csel	x8, x10, x9, eq
LBB0_19:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_hdr_addr
LBB0_20:
	cmp	w20, #4
	b.eq	LBB0_23
LBB0_21:
	cmp	w20, #2
	b.eq	LBB0_23
; %bb.22:
	cmp	w20, #1
	b.ne	LBB0_24
LBB0_23:
	ldr	w8, [x0]
	str	w8, [x19]
	b	LBB0_25
LBB0_24:
	bl	_BUG
LBB0_25:
	mov	w0, #0
	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
LBB0_26:
Lloh36:
	adrp	x0, _ff_loc@GOTPAGE
Lloh37:
	ldr	x0, [x0, _ff_loc@GOTPAGEOFF]
	cmp	w20, #4
	b.ne	LBB0_21
	b	LBB0_23
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
                                        ; -- End function
	.comm	_pci_direct_conf1,8,3           ; @pci_direct_conf1
	.comm	_zero_loc,4,2                   ; @zero_loc
	.comm	_is_lx,4,2                      ; @is_lx
	.comm	_lxnb_hdr,4,2                   ; @lxnb_hdr
	.comm	_gxnb_hdr,4,2                   ; @gxnb_hdr
	.comm	_lxfb_hdr,4,2                   ; @lxfb_hdr
	.comm	_gxfb_hdr,4,2                   ; @gxfb_hdr
	.comm	_aes_hdr,4,2                    ; @aes_hdr
	.comm	_ff_loc,4,2                     ; @ff_loc
	.comm	_isa_hdr,4,2                    ; @isa_hdr
	.comm	_ac97_hdr,4,2                   ; @ac97_hdr
	.comm	_ohci_hdr,4,2                   ; @ohci_hdr
	.comm	_ehci_hdr,4,2                   ; @ehci_hdr
	.no_dead_strip	_pci_olpc_read
.subsections_via_symbols
