	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2StuffFifoBypass
_i2StuffFifoBypass:                     ## @i2StuffFifoBypass
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movw	$1, %ax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$999, %ebx                      ## imm = 0x3E7
	movq	_NEED_BYPASS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_i2DeQueueNeeds
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_write_lock_irqsave
	movzwl	(%r12), %r15d
	cmpw	2(%r12), %r15w
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incl	(%r14)
	addl	%r15d, %ebx
	movq	_CBUF_SIZE@GOTPCREL(%rip), %rax
	cmpw	(%rax), %bx
	movl	$0, %eax
	cmovael	%eax, %ebx
	movl	%ebx, %r15d
	cmpw	2(%r12), %bx
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzwl	%r15w, %r13d
	addq	8(%r12), %r13
	movq	%r13, %rdi
	callq	_CMD_COUNT_OF
	movl	%eax, %ebx
	addl	$4, %ebx
	movzwl	%bx, %edi
	movl	$2, %esi
	callq	_roundup
	testw	%ax, %ax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movzwl	%ax, %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_i2Write2Fifo
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_NEED_BYPASS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2QueueNeeds
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_NEED_BYPASS@GOTPCREL(%rip), %r13
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movw	%r15w, (%r12)
	callq	_write_unlock_irqrestore
	decl	%ebx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpw	$0, -48(%rbp)                   ## 2-byte Folded Reload
	jne	LBB0_1
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEED_BYPASS,4,2                ## @NEED_BYPASS
	.comm	_CBUF_SIZE,2,1                  ## @CBUF_SIZE
	.comm	_ITRC_ERROR,4,2                 ## @ITRC_ERROR
	.comm	_ITRC_NO_PORT,4,2               ## @ITRC_NO_PORT
	.no_dead_strip	_i2StuffFifoBypass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2StuffFifoBypass
_i2StuffFifoBypass:                     ; @i2StuffFifoBypass
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w26, #1
	mov	w23, #999
Lloh0:
	adrp	x24, _NEED_BYPASS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NEED_BYPASS@GOTPAGEOFF]
Lloh2:
	adrp	x25, _CBUF_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CBUF_SIZE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w1, [x24]
	mov	x0, x19
	bl	_i2DeQueueNeeds
	cbz	x0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x0
	add	x21, x0, #16
	mov	x0, x21
	bl	_write_lock_irqsave
	ldrh	w27, [x20]
	ldrh	w8, [x20, #2]
	cmp	w27, w8
	b.ne	LBB0_4
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	add	w8, w28, w27
	ldrh	w9, [x25]
	cmp	w9, w8, uxth
	csel	w27, w8, wzr, hi
	ldrh	w8, [x20, #2]
	cmp	w8, w27, uxth
	b.eq	LBB0_7
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	add	x22, x8, w27, uxth
	mov	x0, x22
	bl	_CMD_COUNT_OF
	add	w28, w0, #4
	and	w0, w28, #0xffff
	mov	w1, #2
	bl	_roundup
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	w3, #0
	bl	_i2Write2Fifo
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_i2QueueNeeds
	mov	w26, #0
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	strh	w27, [x20]
	mov	x0, x21
	bl	_write_unlock_irqrestore
	subs	w23, w23, #1
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w26, LBB0_1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NEED_BYPASS,4,2                ; @NEED_BYPASS
	.comm	_CBUF_SIZE,2,1                  ; @CBUF_SIZE
	.comm	_ITRC_ERROR,4,2                 ; @ITRC_ERROR
	.comm	_ITRC_NO_PORT,4,2               ; @ITRC_NO_PORT
	.no_dead_strip	_i2StuffFifoBypass
.subsections_via_symbols
