	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_ports
_setup_ports:                           ## @setup_ports
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_sc_adapter@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	sarl	$12, %edi
	movq	8(%rax), %rax
	movq	_EXP_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_outb
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movl	$128, %edi
	orl	4(%rax), %edi
	movq	8(%rax), %rax
	movq	_IRQ_SELECT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sc_adapter,8,3                 ## @sc_adapter
	.comm	_EXP_BASE,8,3                   ## @EXP_BASE
	.comm	_IRQ_SELECT,8,3                 ## @IRQ_SELECT
	.no_dead_strip	_setup_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_ports
_setup_ports:                           ; @setup_ports
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x19, _sc_adapter@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sc_adapter@GOTPAGEOFF]
	ldr	x8, [x19]
	sbfiz	x20, x0, #3, #32
	ldr	x8, [x8, x20]
	ldr	w9, [x8]
	asr	w0, w9, #12
	ldr	x8, [x8, #8]
Lloh2:
	adrp	x9, _EXP_BASE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EXP_BASE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_outb
	ldr	x8, [x19]
	ldr	x8, [x8, x20]
	ldr	w9, [x8, #4]
	orr	w0, w9, #0x80
Lloh5:
	adrp	x9, _IRQ_SELECT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IRQ_SELECT@GOTPAGEOFF]
	ldr	x8, [x8, #8]
Lloh7:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sc_adapter,8,3                 ; @sc_adapter
	.comm	_EXP_BASE,8,3                   ; @EXP_BASE
	.comm	_IRQ_SELECT,8,3                 ; @IRQ_SELECT
	.no_dead_strip	_setup_ports
.subsections_via_symbols
