	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxbf_tmfifo_work_rxtx
_mlxbf_tmfifo_work_rxtx:                ## @mlxbf_tmfifo_work_rxtx
	.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	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r13
	leaq	16(%rdi), %rsi
	movl	%edx, %edi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	8(%r13), %rax
	movslq	%r12d, %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_8
## %bb.2:
	movq	_MLXBF_TMFIFO_VDEV_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movslq	%r15d, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx,%r15,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rcx,%r15,8), %rdi
	movl	%r14d, %esi
	callq	_mlxbf_tmfifo_rxtx
	movl	(%r12), %eax
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXBF_TMFIFO_VDEV_MAX,4,2      ## @MLXBF_TMFIFO_VDEV_MAX
	.no_dead_strip	_mlxbf_tmfifo_work_rxtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxbf_tmfifo_work_rxtx
_mlxbf_tmfifo_work_rxtx:                ; @mlxbf_tmfifo_work_rxtx
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	add	x1, x0, #16
	mov	x0, x2
	bl	_test_and_clear_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, w22, sxtw #2]
Lloh0:
	adrp	x22, _MLXBF_TMFIFO_VDEV_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLXBF_TMFIFO_VDEV_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w9, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_3
LBB0_2:
	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_3:
	mov	x23, #0
	sxtw	x21, w21
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	ldr	x9, [x9, x23, lsl #3]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x9]
	add	x0, x9, x21, lsl #3
	ldr	x9, [x0]
	cbz	x9, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x19
	bl	_mlxbf_tmfifo_rxtx
	ldr	w8, [x22]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXBF_TMFIFO_VDEV_MAX,4,2      ; @MLXBF_TMFIFO_VDEV_MAX
	.no_dead_strip	_mlxbf_tmfifo_work_rxtx
.subsections_via_symbols
