	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_tx_initialize
_ipw2100_tx_initialize:                 ## @ipw2100_tx_initialize
	.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	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_IPW_DEBUG_INFO
	leaq	60(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	56(%r12), %rdi
	callq	_INIT_STAT
	leaq	52(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	32(%r12), %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%r12), %rdi
	callq	_INIT_STAT
	leaq	28(%r12), %r14
	movq	%r14, %rdi
	callq	_INIT_STAT
	movq	_TX_PENDED_QUEUE_LENGTH@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_1
## %bb.2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	incq	%rbx
	movslq	(%r13), %rax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rdi
	movq	8(%rdi,%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_libipw_txb_free
	movq	40(%r12), %rdi
	movq	$0, 8(%rdi,%r14)
	jmp	LBB0_5
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_SET_STAT
	movl	4(%r12), %eax
	movl	%eax, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	leaq	24(%r12), %rbx
	movq	%rbx, %rdi
	callq	_INIT_STAT
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_SET_STAT
	movq	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_bd_queue_initialize
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPW_DEBUG_INFO                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_TX_PENDED_QUEUE_LENGTH,4,2     ## @TX_PENDED_QUEUE_LENGTH
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE,4,2 ## @IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE,4,2 ## @IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX,4,2 ## @IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX,4,2 ## @IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX
L_.str.1:                               ## @.str.1
	.asciz	"exit\n"

	.no_dead_strip	_ipw2100_tx_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw2100_tx_initialize
_ipw2100_tx_initialize:                 ; @ipw2100_tx_initialize
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_INFO
	add	x0, x19, #60
	bl	_INIT_LIST_HEAD
	add	x0, x19, #56
	bl	_INIT_STAT
	add	x0, x19, #52
	bl	_INIT_LIST_HEAD
	add	x21, x19, #32
	mov	x0, x21
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_INIT_STAT
	add	x20, x19, #28
	mov	x0, x20
	bl	_INIT_STAT
Lloh2:
	adrp	x23, _TX_PENDED_QUEUE_LENGTH@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TX_PENDED_QUEUE_LENGTH@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
	mov	w24, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x24
	sub	x0, x8, #8
	mov	x1, x21
	bl	_list_add_tail
	add	x22, x22, #1
	ldrsw	x8, [x23]
	add	x24, x24, #16
	cmp	x22, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x0, [x8, x24]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_libipw_txb_free
	ldr	x8, [x19, #40]
	str	xzr, [x8, x24]
	b	LBB0_2
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x22
	bl	_SET_STAT
	ldr	w8, [x19, #4]
	str	w8, [x19]
	stp	xzr, xzr, [x19, #8]
	add	x20, x19, #24
	mov	x0, x20
	bl	_INIT_STAT
	ldr	w1, [x19]
	mov	x0, x20
	bl	_SET_STAT
Lloh4:
	adrp	x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x19
	bl	_bd_queue_initialize
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_IPW_DEBUG_INFO
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_TX_PENDED_QUEUE_LENGTH,4,2     ; @TX_PENDED_QUEUE_LENGTH
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE,4,2 ; @IPW_MEM_HOST_SHARED_TX_QUEUE_BD_BASE
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE,4,2 ; @IPW_MEM_HOST_SHARED_TX_QUEUE_BD_SIZE
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX,4,2 ; @IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX
	.comm	_IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX,4,2 ; @IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX
l_.str.1:                               ; @.str.1
	.asciz	"exit\n"

	.no_dead_strip	_ipw2100_tx_initialize
.subsections_via_symbols
