	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elmc_do_attn586
_elmc_do_attn586:                       ## @elmc_do_attn586
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	_ELMC_CTRL_RST@GOTPCREL(%rip), %r15
	movq	_ELMC_CTRL_CA@GOTPCREL(%rip), %rcx
	movl	(%r15), %eax
	orl	%esi, %eax
	orl	(%rcx), %eax
	orl	$3, %eax
	movslq	%edi, %r14
	movq	_ELMC_CTRL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%r14, %rsi
	movl	%eax, %edi
	callq	_outb
	xorl	%eax, %eax
	callq	_DELAY_16
	orl	(%r15), %ebx
	orl	$3, %ebx
	addq	(%r12), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ELMC_CTRL_RST,4,2              ## @ELMC_CTRL_RST
	.comm	_ELMC_CTRL_CA,4,2               ## @ELMC_CTRL_CA
	.comm	_ELMC_CTRL,8,3                  ## @ELMC_CTRL
	.no_dead_strip	_elmc_do_attn586
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elmc_do_attn586
_elmc_do_attn586:                       ; @elmc_do_attn586
	.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
	mov	x19, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x20, _ELMC_CTRL_RST@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ELMC_CTRL_RST@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _ELMC_CTRL_CA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ELMC_CTRL_CA@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w8, w1
	orr	w8, w8, w9
	orr	w8, w8, #0x3
	sxtw	x21, w0
Lloh5:
	adrp	x22, _ELMC_CTRL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ELMC_CTRL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x9, x21
	mov	x0, x8
	bl	_outb
	bl	_DELAY_16
	ldr	w8, [x20]
	orr	w8, w8, w19
	orr	w0, w8, #0x3
	ldr	x8, [x22]
	add	x1, x8, x21
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ELMC_CTRL_RST,4,2              ; @ELMC_CTRL_RST
	.comm	_ELMC_CTRL_CA,4,2               ; @ELMC_CTRL_CA
	.comm	_ELMC_CTRL,8,3                  ; @ELMC_CTRL
	.no_dead_strip	_elmc_do_attn586
.subsections_via_symbols
