	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_pcie_txq_inval_byte_cnt_tbl
_iwl_pcie_txq_inval_byte_cnt_tbl:       ## @iwl_pcie_txq_inval_byte_cnt_tbl
	.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
	movq	%rsi, %rbx
	callq	_IWL_TRANS_GET_PCIE_TRANS
	movq	%rax, %r14
	movq	8(%rax), %r15
	movslq	(%rbx), %r13
	movslq	4(%rbx), %r12
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rbx
	movq	_TFD_QUEUE_SIZE_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r12d
	setge	%dil
	callq	_WARN_ON
	movl	$1, %edi
	cmpl	(%r14), %r13d
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	shll	$12, %edi
	orl	$1, %edi
LBB0_2:
	callq	_cpu_to_le16
	movq	(%r15,%r13,8), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	_TFD_QUEUE_SIZE_BC_DUP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jge	LBB0_4
## %bb.3:
	movq	(%r15,%r13,8), %rcx
	movq	_TFD_QUEUE_SIZE_MAX@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	addq	%r12, %rdx
	movq	%rax, (%rcx,%rdx,8)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TFD_QUEUE_SIZE_MAX,4,2         ## @TFD_QUEUE_SIZE_MAX
	.comm	_TFD_QUEUE_SIZE_BC_DUP,4,2      ## @TFD_QUEUE_SIZE_BC_DUP
	.no_dead_strip	_iwl_pcie_txq_inval_byte_cnt_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_pcie_txq_inval_byte_cnt_tbl
_iwl_pcie_txq_inval_byte_cnt_tbl:       ; @iwl_pcie_txq_inval_byte_cnt_tbl
	.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, x1
	bl	_IWL_TRANS_GET_PCIE_TRANS
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldpsw	x22, x23, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x24, [x8]
Lloh0:
	adrp	x19, _TFD_QUEUE_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x19, [x19, _TFD_QUEUE_SIZE_MAX@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w23, w8
	cset	w0, ge
	bl	_WARN_ON
	ldr	w8, [x20]
	mov	w0, #1
	cmp	w22, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x24]
	bfi	w0, w8, #12, #20
LBB0_2:
	bl	_cpu_to_le16
	ldr	x8, [x21, x22, lsl #3]
	str	x0, [x8, x23, lsl #3]
Lloh2:
	adrp	x8, _TFD_QUEUE_SIZE_BC_DUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TFD_QUEUE_SIZE_BC_DUP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_4
; %bb.3:
	ldr	x8, [x21, x22, lsl #3]
	ldr	w9, [x19]
	add	w9, w9, w23
	str	x0, [x8, w9, sxtw #3]
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TFD_QUEUE_SIZE_MAX,4,2         ; @TFD_QUEUE_SIZE_MAX
	.comm	_TFD_QUEUE_SIZE_BC_DUP,4,2      ; @TFD_QUEUE_SIZE_BC_DUP
	.no_dead_strip	_iwl_pcie_txq_inval_byte_cnt_tbl
.subsections_via_symbols
