	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_pcie_rx_reuse_rbd
_iwl_pcie_rx_reuse_rbd:                 ## @iwl_pcie_rx_reuse_rbd
	.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	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_IWL_TRANS_GET_PCIE_TRANS
	movq	%rax, %r14
	leaq	4(%r15), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %eax
	incl	%eax
	movl	%eax, (%r15)
	movq	_RX_CLAIM_REQ_ALLOC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	_RX_POST_REQ_ALLOC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_iwl_pcie_rx_move_to_allocator
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_atomic_inc
	movl	4(%r14), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_CLAIM_REQ_ALLOC,4,2         ## @RX_CLAIM_REQ_ALLOC
	.comm	_RX_POST_REQ_ALLOC,4,2          ## @RX_POST_REQ_ALLOC
	.no_dead_strip	_iwl_pcie_rx_reuse_rbd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_pcie_rx_reuse_rbd
_iwl_pcie_rx_reuse_rbd:                 ; @iwl_pcie_rx_reuse_rbd
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	bl	_IWL_TRANS_GET_PCIE_TRANS
	mov	x19, x0
	add	x1, x20, #4
	mov	x0, x22
	bl	_list_add_tail
	mov	x0, x21
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
Lloh0:
	adrp	x9, _RX_CLAIM_REQ_ALLOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_CLAIM_REQ_ALLOC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
Lloh3:
	adrp	x9, _RX_POST_REQ_ALLOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_POST_REQ_ALLOC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_iwl_pcie_rx_move_to_allocator
	add	x0, x19, #8
	bl	_atomic_inc
	ldr	w0, [x19, #4]
	mov	x1, 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	_queue_work
LBB0_3:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_CLAIM_REQ_ALLOC,4,2         ; @RX_CLAIM_REQ_ALLOC
	.comm	_RX_POST_REQ_ALLOC,4,2          ; @RX_POST_REQ_ALLOC
	.no_dead_strip	_iwl_pcie_rx_reuse_rbd
.subsections_via_symbols
