	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_mmio
_enable_mmio:                           ## @enable_mmio
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_rqNeedEnMMIO@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_rqRhineI@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_ConfigA@GOTPCREL(%rip), %r15
	cmoveq	_ConfigD@GOTPCREL(%rip), %r15
	movl	$128, %eax
	movl	$32, %ebx
	cmovel	%eax, %ebx
	movq	(%r15), %rdi
	addq	%r14, %rdi
	callq	_inb
	orl	%eax, %ebx
	addq	(%r15), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rqNeedEnMMIO,4,2               ## @rqNeedEnMMIO
	.comm	_rqRhineI,4,2                   ## @rqRhineI
	.comm	_ConfigA,8,3                    ## @ConfigA
	.comm	_ConfigD,8,3                    ## @ConfigD
	.no_dead_strip	_enable_mmio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_mmio
_enable_mmio:                           ; @enable_mmio
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _rqNeedEnMMIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rqNeedEnMMIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _rqRhineI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rqRhineI@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ConfigA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ConfigA@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ConfigD@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ConfigD@GOTPAGEOFF]
	tst	w8, w1
	csel	x20, x10, x9, eq
	mov	w8, #32
	mov	w9, #128
	csel	w21, w9, w8, eq
	ldr	x8, [x20]
	add	x0, x8, x0
	bl	_inb
	orr	w0, w0, w21
	ldr	x8, [x20]
	add	x1, x8, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_outb
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_rqNeedEnMMIO,4,2               ; @rqNeedEnMMIO
	.comm	_rqRhineI,4,2                   ; @rqRhineI
	.comm	_ConfigA,8,3                    ; @ConfigA
	.comm	_ConfigD,8,3                    ; @ConfigD
	.no_dead_strip	_enable_mmio
.subsections_via_symbols
