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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elmc_do_reset586
_elmc_do_reset586:                      ; @elmc_do_reset586
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _ELMC_CTRL_LBK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ELMC_CTRL_LBK@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w0, w8, #0x3
	sxtw	x22, w20
Lloh2:
	adrp	x23, _ELMC_CTRL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ELMC_CTRL@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x1, x8, x22
	bl	_outb
	bl	_DELAY_16
Lloh4:
	adrp	x8, _ELMC_CTRL_RST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ELMC_CTRL_RST@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w8, w9
	orr	w0, w8, #0x3
	ldr	x8, [x23]
	add	x1, x8, x22
	bl	_outb
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_elmc_do_attn586
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ELMC_CTRL_LBK,4,2              ; @ELMC_CTRL_LBK
	.comm	_ELMC_CTRL,8,3                  ; @ELMC_CTRL
	.comm	_ELMC_CTRL_RST,4,2              ; @ELMC_CTRL_RST
	.no_dead_strip	_elmc_do_reset586
.subsections_via_symbols
