	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SelFiFo
_SelFiFo:                               ## @SelFiFo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %eax
	cmpl	%esi, 8(%rdi)
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	cmpl	$5, %esi
	ja	LBB0_4
## %bb.2:
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_HFCB_FIFO@GOTPCREL(%rip), %rax
	movq	_HFCB_Z1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_HFCB_B1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_debugl1
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_5:
	movq	_HFCB_FIFO@GOTPCREL(%rip), %rax
	movq	_HFCB_Z1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_HFCB_B1@GOTPCREL(%rip), %rax
	movq	_HFCB_REC@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_6:
	movq	_HFCB_FIFO@GOTPCREL(%rip), %rax
	movq	_HFCB_Z1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_HFCB_B2@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_HFCB_SEND@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	_HFCB_FIFO@GOTPCREL(%rip), %rax
	movq	_HFCB_Z1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_HFCB_B2@GOTPCREL(%rip), %rax
	movq	_HFCB_REC@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_HFCD_Z1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HFCD_SEND@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_HFCD_Z1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HFCD_REC@GOTPCREL(%rip), %rax
LBB0_11:
	movq	_HFCD_FIFO@GOTPCREL(%rip), %rcx
LBB0_12:
	orl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	%esi, 8(%r14)
	movq	%r14, %rdi
	callq	_WaitNoBusy
	movq	_HFCD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	*(%r14)
	movq	%r14, %rdi
	callq	_WaitForBusy
	movl	$2, %eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_HFCB_FIFO,4,2                  ## @HFCB_FIFO
	.comm	_HFCB_Z1,4,2                    ## @HFCB_Z1
	.comm	_HFCB_SEND,4,2                  ## @HFCB_SEND
	.comm	_HFCB_B1,4,2                    ## @HFCB_B1
	.comm	_HFCB_REC,4,2                   ## @HFCB_REC
	.comm	_HFCB_B2,4,2                    ## @HFCB_B2
	.comm	_HFCD_FIFO,4,2                  ## @HFCD_FIFO
	.comm	_HFCD_Z1,4,2                    ## @HFCD_Z1
	.comm	_HFCD_SEND,4,2                  ## @HFCD_SEND
	.comm	_HFCD_REC,4,2                   ## @HFCD_REC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SelFiFo Error"

	.comm	_HFCD_DATA,4,2                  ## @HFCD_DATA
	.no_dead_strip	_SelFiFo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SelFiFo
_SelFiFo:                               ; @SelFiFo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_15
LBB0_2:
	mov	x19, x0
	cmp	w1, #5
	b.hi	LBB0_5
; %bb.3:
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh2:
	adrp	x8, _HFCB_FIFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HFCB_FIFO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _HFCB_Z1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HFCB_Z1@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8: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Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _HFCB_B2@GOTPAGE
Lloh37:
	ldr	x9, [x9, _HFCB_B2@GOTPAGEOFF]
LBB0_10:
Lloh38:
	adrp	x10, _HFCB_REC@GOTPAGE
Lloh39:
	ldr	x10, [x10, _HFCB_REC@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh40:
	adrp	x8, _HFCD_Z1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HFCD_Z1@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _HFCD_SEND@GOTPAGE
Lloh44:
	ldr	x9, [x9, _HFCD_SEND@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh45:
	adrp	x8, _HFCD_Z1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _HFCD_Z1@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _HFCD_REC@GOTPAGE
Lloh49:
	ldr	x9, [x9, _HFCD_REC@GOTPAGEOFF]
LBB0_13:
Lloh50:
	adrp	x10, _HFCD_FIFO@GOTPAGE
Lloh51:
	ldr	x10, [x10, _HFCD_FIFO@GOTPAGEOFF]
LBB0_14:
	ldr	w10, [x10]
	orr	w8, w8, w10
	ldr	w9, [x9]
	orr	w20, w8, w9
	str	w1, [x19, #8]
	mov	x0, x19
	bl	_WaitNoBusy
	ldr	x8, [x19]
Lloh52:
	adrp	x9, _HFCD_DATA@GOTPAGE
Lloh53:
	ldr	x9, [x9, _HFCD_DATA@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	blr	x8
	mov	x0, x19
	bl	_WaitForBusy
	mov	w0, #2
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.comm	_HFCB_FIFO,4,2                  ; @HFCB_FIFO
	.comm	_HFCB_Z1,4,2                    ; @HFCB_Z1
	.comm	_HFCB_SEND,4,2                  ; @HFCB_SEND
	.comm	_HFCB_B1,4,2                    ; @HFCB_B1
	.comm	_HFCB_REC,4,2                   ; @HFCB_REC
	.comm	_HFCB_B2,4,2                    ; @HFCB_B2
	.comm	_HFCD_FIFO,4,2                  ; @HFCD_FIFO
	.comm	_HFCD_Z1,4,2                    ; @HFCD_Z1
	.comm	_HFCD_SEND,4,2                  ; @HFCD_SEND
	.comm	_HFCD_REC,4,2                   ; @HFCD_REC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SelFiFo Error"

	.comm	_HFCD_DATA,4,2                  ; @HFCD_DATA
	.no_dead_strip	_SelFiFo
.subsections_via_symbols
