	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_alive_notify
_iwl_alive_notify:                      ## @iwl_alive_notify
	.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, %r14
	movl	24(%rdi), %edi
	xorl	%esi, %esi
	callq	_iwl_trans_fw_alive
	movq	40(%r14), %rax
	movq	_IWL_UCODE_TLV_FLAGS_PAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	32(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_iwlagn_ipan_queue_to_tx_fifo@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	_iwlagn_default_queue_to_tx_fifo@GOTPCREL(%rip), %rbx
LBB0_4:
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movq	(%rbx), %r15
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movq	_IWL_TX_FIFO_UNUSED@GOTPCREL(%rip), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edx
	cmpl	(%r13), %edx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	24(%r14), %edi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_iwl_trans_ac_txq_enable
	jmp	LBB0_8
LBB0_9:
	movl	$0, (%r14)
	movq	$0, 16(%r14)
	movq	%r14, %rdi
	callq	_iwl_send_wimax_coex
	testl	%eax, %eax
	je	LBB0_10
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_iwl_set_Xtal_calib
	testl	%eax, %eax
	jne	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_send_calib_results         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_UCODE_TLV_FLAGS_PAN,4,2    ## @IWL_UCODE_TLV_FLAGS_PAN
	.comm	_iwlagn_ipan_queue_to_tx_fifo,8,3 ## @iwlagn_ipan_queue_to_tx_fifo
	.comm	_iwlagn_default_queue_to_tx_fifo,8,3 ## @iwlagn_default_queue_to_tx_fifo
	.comm	_IWL_TX_FIFO_UNUSED,4,2         ## @IWL_TX_FIFO_UNUSED
	.no_dead_strip	_iwl_alive_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_alive_notify
_iwl_alive_notify:                      ; @iwl_alive_notify
	.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
	ldr	w0, [x0, #24]
	mov	w1, #0
	bl	_iwl_trans_fw_alive
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _IWL_UCODE_TLV_FLAGS_PAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWL_UCODE_TLV_FLAGS_PAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x21, _iwlagn_ipan_queue_to_tx_fifo@GOTPAGE
Lloh4:
	ldr	x21, [x21, _iwlagn_ipan_queue_to_tx_fifo@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x21, _iwlagn_default_queue_to_tx_fifo@GOTPAGE
Lloh6:
	ldr	x21, [x21, _iwlagn_default_queue_to_tx_fifo@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x20, #0
	ldr	x21, [x21]
	mov	w22, w0
Lloh7:
	adrp	x23, _IWL_TX_FIFO_UNUSED@GOTPAGE
Lloh8:
	ldr	x23, [x23, _IWL_TX_FIFO_UNUSED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	cmp	x22, x20
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21, x20, lsl #2]
	ldr	w8, [x23]
	cmp	w2, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #24]
	mov	x1, x20
	mov	w3, #0
	bl	_iwl_trans_ac_txq_enable
	b	LBB0_6
LBB0_9:
	str	wzr, [x19]
	str	xzr, [x19, #16]
	mov	x0, x19
	bl	_iwl_send_wimax_coex
	cbz	w0, LBB0_11
LBB0_10:
	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
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_iwl_set_Xtal_calib
	cbnz	w0, LBB0_10
LBB0_13:
	mov	x0, x19
	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	_iwl_send_calib_results
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_UCODE_TLV_FLAGS_PAN,4,2    ; @IWL_UCODE_TLV_FLAGS_PAN
	.comm	_iwlagn_ipan_queue_to_tx_fifo,8,3 ; @iwlagn_ipan_queue_to_tx_fifo
	.comm	_iwlagn_default_queue_to_tx_fifo,8,3 ; @iwlagn_default_queue_to_tx_fifo
	.comm	_IWL_TX_FIFO_UNUSED,4,2         ; @IWL_TX_FIFO_UNUSED
	.no_dead_strip	_iwl_alive_notify
.subsections_via_symbols
