	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_os_write_port             ## -- Begin function acpi_os_write_port
	.p2align	4, 0x90
_acpi_os_write_port:                    ## @acpi_os_write_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	cmpl	$8, %edx
	jg	LBB0_2
## %bb.1:
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_outb
	jmp	LBB0_7
LBB0_2:
	cmpl	$16, %edx
	ja	LBB0_4
## %bb.3:
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_outw
	jmp	LBB0_7
LBB0_4:
	cmpl	$32, %edx
	ja	LBB0_6
## %bb.5:
	movl	%esi, %edi
	movl	%eax, %esi
	callq	_outl
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_BUG
LBB0_7:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_os_write_port             ; -- Begin function acpi_os_write_port
	.p2align	2
_acpi_os_write_port:                    ; @acpi_os_write_port
	.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
	mov	x8, x0
	cmp	w2, #8
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x1
	mov	x1, x8
	bl	_outb
	b	LBB0_7
LBB0_2:
	cmp	w2, #16
	b.hi	LBB0_4
; %bb.3:
	mov	x0, x1
	mov	x1, x8
	bl	_outw
	b	LBB0_7
LBB0_4:
	cmp	w2, #32
	b.hi	LBB0_6
; %bb.5:
	mov	x0, x1
	mov	x1, x8
	bl	_outl
	b	LBB0_7
LBB0_6:
	bl	_BUG
LBB0_7:
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
