	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_tiger
_recv_tiger:                            ## @recv_tiger
	.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
	movq	%rdi, %r15
	movl	16(%rdi), %r14d
	movl	%r14d, %ebx
	shrl	$31, %ebx
	addl	%r14d, %ebx
	sarl	%ebx
	movq	_NJ_IRQM0_WR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	(%rdi), %ecx
	movl	%ecx, (%rdi)
	movl	(%rax), %eax
	andl	%esi, %eax
	orl	%ecx, %eax
	movl	%eax, (%rdi)
	movq	_NJ_IRQM0_WR_END@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	cmovnel	%ebx, %r14d
	decl	%r14d
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	8(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_read_dma
LBB0_2:
	movl	(%r12), %edi
	movq	8(%r15), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	8(%r15), %rdi
	addq	$4, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_dma                       ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NJ_IRQM0_WR_MASK,4,2           ## @NJ_IRQM0_WR_MASK
	.comm	_NJ_IRQM0_WR_END,4,2            ## @NJ_IRQM0_WR_END
	.comm	_FLG_ACTIVE,4,2                 ## @FLG_ACTIVE
	.no_dead_strip	_recv_tiger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_tiger
_recv_tiger:                            ; @recv_tiger
	.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	x20, x0
	ldr	w8, [x0, #16]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w19, w9, #1
Lloh0:
	adrp	x9, _NJ_IRQM0_WR_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NJ_IRQM0_WR_MASK@GOTPAGEOFF]
	ldr	w10, [x9]
	ldr	w11, [x0]
	bic	w10, w11, w10
	str	w10, [x0]
	ldr	w9, [x9]
	and	w9, w9, w1
	orr	w9, w9, w10
	str	w9, [x0]
Lloh2:
	adrp	x9, _NJ_IRQM0_WR_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NJ_IRQM0_WR_END@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w1
	csel	w8, w8, w19, eq
	sub	w21, w8, #1
Lloh5:
	adrp	x22, _FLG_ACTIVE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FLG_ACTIVE@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x1, [x20, #8]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	x2, x19
	bl	_read_dma
LBB0_2:
	ldr	w0, [x22]
	ldr	x8, [x20, #8]
	add	x1, x8, #4
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	add	x0, x8, #4
	mov	x1, x21
	mov	x2, x19
	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	_read_dma
LBB0_4:
	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
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NJ_IRQM0_WR_MASK,4,2           ; @NJ_IRQM0_WR_MASK
	.comm	_NJ_IRQM0_WR_END,4,2            ; @NJ_IRQM0_WR_END
	.comm	_FLG_ACTIVE,4,2                 ; @FLG_ACTIVE
	.no_dead_strip	_recv_tiger
.subsections_via_symbols
