	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_byte_mode1
_write_byte_mode1:                      ## @write_byte_mode1
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movslq	%edi, %r14
	movq	_PAR_DATA@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%r14, %rsi
	movl	%ebx, %edi
	andl	$15, %edi
	callq	_outb
	movq	_Ctrl_IRQEN@GOTPCREL(%rip), %r15
	movq	_Ctrl_LNibWrite@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	(%r15), %al
	movq	_PAR_CONTROL@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	%r14, %rsi
	movzbl	%al, %edi
	callq	_outb
	shrb	$4, %bl
	orb	$16, %bl
	movq	(%r12), %rsi
	addq	%r14, %rsi
	movzbl	%bl, %edi
	callq	_outb
	movq	_Ctrl_HNibWrite@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	(%r15), %al
	addq	(%r13), %r14
	movzbl	%al, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAR_DATA,8,3                   ## @PAR_DATA
	.comm	_Ctrl_IRQEN,1,0                 ## @Ctrl_IRQEN
	.comm	_Ctrl_LNibWrite,1,0             ## @Ctrl_LNibWrite
	.comm	_PAR_CONTROL,8,3                ## @PAR_CONTROL
	.comm	_Ctrl_HNibWrite,1,0             ## @Ctrl_HNibWrite
	.no_dead_strip	_write_byte_mode1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_byte_mode1
_write_byte_mode1:                      ; @write_byte_mode1
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x20, w0
Lloh0:
	adrp	x21, _PAR_DATA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PAR_DATA@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, x20
	and	w0, w19, #0xf
	bl	_outb
Lloh2:
	adrp	x22, _Ctrl_IRQEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _Ctrl_IRQEN@GOTPAGEOFF]
	ldrb	w8, [x22]
Lloh4:
	adrp	x9, _Ctrl_LNibWrite@GOTPAGE
Lloh5:
	ldr	x9, [x9, _Ctrl_LNibWrite@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x23, _PAR_CONTROL@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PAR_CONTROL@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x1, x8, x20
	bl	_outb
	lsr	w8, w19, #4
	orr	w0, w8, #0x10
	ldr	x8, [x21]
	add	x1, x8, x20
	bl	_outb
	ldrb	w8, [x22]
Lloh8:
	adrp	x9, _Ctrl_HNibWrite@GOTPAGE
Lloh9:
	ldr	x9, [x9, _Ctrl_HNibWrite@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x23]
	add	x1, x8, x20
	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	_outb
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAR_DATA,8,3                   ; @PAR_DATA
	.comm	_Ctrl_IRQEN,1,0                 ; @Ctrl_IRQEN
	.comm	_Ctrl_LNibWrite,1,0             ; @Ctrl_LNibWrite
	.comm	_PAR_CONTROL,8,3                ; @PAR_CONTROL
	.comm	_Ctrl_HNibWrite,1,0             ; @Ctrl_HNibWrite
	.no_dead_strip	_write_byte_mode1
.subsections_via_symbols
