	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inport_close
_inport_close:                          ## @inport_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INPORT_REG_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_INPORT_CONTROL_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	_INPORT_MODE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_INPORT_DATA_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	_inport_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INPORT_REG_MODE,4,2            ## @INPORT_REG_MODE
	.comm	_INPORT_CONTROL_PORT,4,2        ## @INPORT_CONTROL_PORT
	.comm	_INPORT_MODE_BASE,4,2           ## @INPORT_MODE_BASE
	.comm	_INPORT_DATA_PORT,4,2           ## @INPORT_DATA_PORT
	.comm	_inport_irq,4,2                 ## @inport_irq
	.no_dead_strip	_inport_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inport_close
_inport_close:                          ; @inport_close
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _INPORT_REG_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPORT_REG_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _INPORT_CONTROL_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPORT_CONTROL_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_outb
Lloh6:
	adrp	x8, _INPORT_MODE_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INPORT_MODE_BASE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _INPORT_DATA_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INPORT_DATA_PORT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_outb
Lloh12:
	adrp	x8, _inport_irq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _inport_irq@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_free_irq
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INPORT_REG_MODE,4,2            ; @INPORT_REG_MODE
	.comm	_INPORT_CONTROL_PORT,4,2        ; @INPORT_CONTROL_PORT
	.comm	_INPORT_MODE_BASE,4,2           ; @INPORT_MODE_BASE
	.comm	_INPORT_DATA_PORT,4,2           ; @INPORT_DATA_PORT
	.comm	_inport_irq,4,2                 ; @inport_irq
	.no_dead_strip	_inport_close
.subsections_via_symbols
