	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_reg_high
_write_reg_high:                        ## @write_reg_high
	.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	%edx, %r14d
	movq	_EOC@GOTPCREL(%rip), %rax
	orb	(%rax), %sil
	movq	_HNib@GOTPCREL(%rip), %r13
	orb	(%r13), %sil
	movslq	%edi, %r15
	movq	_PAR_DATA@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	addq	%r15, %rax
	movzbl	%sil, %ebx
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_outb
	movq	_WrAddr@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	(%r13), %al
	orb	$15, %al
	andb	%al, %bl
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movzbl	%bl, %ebx
	movl	%ebx, %edi
	callq	_outb
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movl	%ebx, %edi
	callq	_outb
	movq	_WrAddr@GOTPCREL(%rip), %rax
	orb	(%rax), %r14b
	orb	(%r13), %r14b
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movzbl	%r14b, %ebx
	movl	%ebx, %edi
	callq	_outb
	movb	(%r13), %al
	orb	$15, %al
	andb	%al, %bl
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movzbl	%bl, %ebx
	movl	%ebx, %edi
	callq	_outb
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movl	%ebx, %edi
	callq	_outb
	movq	_EOC@GOTPCREL(%rip), %rax
	orb	(%rax), %bl
	orb	(%r13), %bl
	addq	(%r12), %r15
	movzbl	%bl, %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOC,1,0                        ## @EOC
	.comm	_HNib,1,0                       ## @HNib
	.comm	_PAR_DATA,8,3                   ## @PAR_DATA
	.comm	_WrAddr,1,0                     ## @WrAddr
	.no_dead_strip	_write_reg_high
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_reg_high
_write_reg_high:                        ; @write_reg_high
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x21, _EOC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EOC@GOTPAGEOFF]
	ldrb	w8, [x21]
Lloh2:
	adrp	x22, _HNib@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HNib@GOTPAGEOFF]
	ldrb	w9, [x22]
	orr	w8, w8, w1
	orr	w20, w8, w9
	sxtw	x23, w0
Lloh4:
	adrp	x24, _PAR_DATA@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PAR_DATA@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x1, x8, x23
	and	w0, w20, #0xff
	bl	_outb
Lloh6:
	adrp	x25, _WrAddr@GOTPAGE
Lloh7:
	ldr	x25, [x25, _WrAddr@GOTPAGEOFF]
	ldrb	w8, [x25]
	ldrb	w9, [x22]
	orr	w8, w8, w9
	orr	w8, w8, #0xf
	and	w8, w8, w20
	ldr	x9, [x24]
	add	x1, x9, x23
	and	w20, w8, #0xff
	mov	x0, x20
	bl	_outb
	ldr	x8, [x24]
	add	x1, x8, x23
	mov	x0, x20
	bl	_outb
	ldrb	w8, [x25]
	ldrb	w9, [x22]
	orr	w8, w8, w19
	orr	w19, w8, w9
	ldr	x8, [x24]
	add	x1, x8, x23
	and	w0, w19, #0xff
	bl	_outb
	ldrb	w8, [x22]
	orr	w8, w8, #0xf
	and	w20, w8, w19
	ldr	x8, [x24]
	add	x1, x8, x23
	and	w19, w20, #0xff
	mov	x0, x19
	bl	_outb
	ldr	x8, [x24]
	add	x1, x8, x23
	mov	x0, x19
	bl	_outb
	ldrb	w8, [x21]
	ldrb	w9, [x22]
	orr	w8, w8, w20
	orr	w8, w8, w9
	ldr	x9, [x24]
	add	x1, x9, x23
	and	w0, w8, #0xff
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EOC,1,0                        ; @EOC
	.comm	_HNib,1,0                       ; @HNib
	.comm	_PAR_DATA,8,3                   ; @PAR_DATA
	.comm	_WrAddr,1,0                     ; @WrAddr
	.no_dead_strip	_write_reg_high
.subsections_via_symbols
