	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flashgchar
_flashgchar:                            ## @flashgchar
	.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	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_SWS1@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$-10, %ebx
	movl	$10, %edi
	callq	_mdelay
	testl	%ebx, %ebx
	jle	LBB0_12
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_IN4500
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	andl	$32768, %ecx                    ## imm = 0x8000
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	je	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %edx
	cmpl	%r15d, %edx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	127(%rax), %ecx
	cmpb	$3, %cl
	jb	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$26, %al
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_OUT4500
	testl	%ebx, %ebx
	jg	LBB0_1
LBB0_12:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r12), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_OUT4500
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SWS1,4,2                       ## @SWS1
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_flashgchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flashgchar
_flashgchar:                            ; @flashgchar
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _SWS1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SWS1@GOTPAGEOFF]
	mov	w23, #65535
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w20, w20, #10
	mov	w0, #10
	bl	_mdelay
	cmp	w20, #0
	b.le	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IN4500
	and	w8, w0, #0x8000
	cbz	w20, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, w0, uxtb
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, w23
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w0, #0xff
	sub	w9, w8, #129
	cmp	w9, #3
	ccmp	w8, #26, #4, hs
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_OUT4500
	cmp	w20, #0
	b.gt	LBB0_2
LBB0_8:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	ret
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_OUT4500
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SWS1,4,2                       ; @SWS1
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_flashgchar
.subsections_via_symbols
