	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hd44780_output
_hd44780_output:                        ## @hd44780_output
	.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
	movl	%edi, %ebx
	movq	_HD_COMMAND@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%r14d, %ecx
	callq	_debug
	movq	_HD_WRITE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	orl	%ebx, %edi
	movq	_STROBE@GOTPCREL(%rip), %r12
	orl	(%r12), %edi
	callq	_hd_sctrl
	movl	(%r15), %edi
	orl	%ebx, %edi
	callq	_hd_sctrl
	movl	%r14d, %edi
	callq	_hd_sdata
	orl	(%r15), %ebx
	orl	(%r12), %ebx
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hd_sctrl                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s -> 0x%02x"

	.comm	_HD_COMMAND,4,2                 ## @HD_COMMAND
L_.str.1:                               ## @.str.1
	.asciz	"cmd "

L_.str.2:                               ## @.str.2
	.asciz	"data"

	.comm	_HD_WRITE,4,2                   ## @HD_WRITE
	.comm	_STROBE,4,2                     ## @STROBE
	.no_dead_strip	_hd44780_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hd44780_output
_hd44780_output:                        ; @hd44780_output
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _HD_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HD_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w0
	csel	x2, x10, x9, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x3, x19
	bl	_debug
Lloh9:
	adrp	x21, _HD_WRITE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _HD_WRITE@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w8, w8, w20
Lloh11:
	adrp	x22, _STROBE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _STROBE@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w0, w8, w9
	bl	_hd_sctrl
	ldr	w8, [x21]
	orr	w0, w8, w20
	bl	_hd_sctrl
	mov	x0, x19
	bl	_hd_sdata
	ldr	w8, [x21]
	orr	w8, w8, w20
	ldr	w9, [x22]
	orr	w0, w8, w9
	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	_hd_sctrl
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s -> 0x%02x"

	.comm	_HD_COMMAND,4,2                 ; @HD_COMMAND
l_.str.1:                               ; @.str.1
	.asciz	"cmd "

l_.str.2:                               ; @.str.2
	.asciz	"data"

	.comm	_HD_WRITE,4,2                   ; @HD_WRITE
	.comm	_STROBE,4,2                     ; @STROBE
	.no_dead_strip	_hd44780_output
.subsections_via_symbols
