	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_tx_stop               ## -- Begin function iwl_pcie_tx_stop
	.p2align	4, 0x90
_iwl_pcie_tx_stop:                      ## @iwl_pcie_tx_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_IWL_TRANS_GET_PCIE_TRANS
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_iwl_scd_deactivate_fifos
	movq	%r14, %rdi
	callq	_iwl_pcie_tx_stop_fh
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_iwl_pcie_txq_unmap
	incl	%ebx
	movq	(%r14), %rax
	movq	(%rax), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_tx_stop               ; -- Begin function iwl_pcie_tx_stop
	.p2align	2
_iwl_pcie_tx_stop:                      ; @iwl_pcie_tx_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_IWL_TRANS_GET_PCIE_TRANS
	mov	x20, x0
	mov	x0, x19
	bl	_iwl_scd_deactivate_fifos
	mov	x0, x19
	bl	_iwl_pcie_tx_stop_fh
	ldr	w0, [x20, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x20, #4]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_pcie_txq_unmap
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w20, w8
	b.lt	LBB0_3
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
