	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hw_verify_hang
_ath9k_hw_verify_hang:                  ## @ath9k_hw_verify_hang
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_NUM_STATUS_READS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.1:
	leal	(%r14,%r14,4), %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_AR_DMADBG_5@GOTPCREL(%rip), %rax
	cmpl	$6, %r14d
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_AR_DMADBG_4@GOTPCREL(%rip), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_REG_READ
	movl	%eax, %ebx
	movq	_AR_DMADBG_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_REG_READ
	movl	%r15d, %ecx
	sarl	%cl, %ebx
	movl	%eax, %ecx
	andl	$31, %ebx
	xorl	%eax, %eax
	cmpl	$6, %ebx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	andl	$3, %ecx
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	movq	_NUM_STATUS_READS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jl	LBB0_3
LBB0_7:
	movq	%r12, %rdi
	callq	_ath9k_hw_common
	movq	_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	movl	%r14d, %ecx
	callq	_ath_dbg
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_STATUS_READS,4,2           ## @NUM_STATUS_READS
	.comm	_AR_DMADBG_4,4,2                ## @AR_DMADBG_4
	.comm	_AR_DMADBG_5,4,2                ## @AR_DMADBG_5
	.comm	_AR_DMADBG_6,4,2                ## @AR_DMADBG_6
	.comm	_RESET,4,2                      ## @RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC Hang signature found for queue: %d\n"

	.no_dead_strip	_ath9k_hw_verify_hang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hw_verify_hang
_ath9k_hw_verify_hang:                  ; @ath9k_hw_verify_hang
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _NUM_STATUS_READS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NUM_STATUS_READS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, #0
Lloh2:
	adrp	x24, _AR_DMADBG_4@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AR_DMADBG_4@GOTPAGEOFF]
Lloh4:
	adrp	x25, _AR_DMADBG_5@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AR_DMADBG_5@GOTPAGEOFF]
Lloh6:
	adrp	x26, _AR_DMADBG_6@GOTPAGE
Lloh7:
	ldr	x26, [x26, _AR_DMADBG_6@GOTPAGEOFF]
	add	w27, w19, w19, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #6
	csel	x8, x24, x25, lo
	ldr	w1, [x8]
	mov	x0, x20
	bl	_REG_READ
	mov	x21, x0
	ldr	w1, [x26]
	mov	x0, x20
	bl	_REG_READ
	asr	w8, w21, w27
	and	w8, w8, #0x1f
	and	w9, w0, #0x3
	cmp	w8, #6
	ccmp	w9, #1, #0, eq
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_4:
	mov	x0, x20
	bl	_ath9k_hw_common
Lloh8:
	adrp	x8, _RESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RESET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_ath_dbg
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_STATUS_READS,4,2           ; @NUM_STATUS_READS
	.comm	_AR_DMADBG_4,4,2                ; @AR_DMADBG_4
	.comm	_AR_DMADBG_5,4,2                ; @AR_DMADBG_5
	.comm	_AR_DMADBG_6,4,2                ; @AR_DMADBG_6
	.comm	_RESET,4,2                      ; @RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC Hang signature found for queue: %d\n"

	.no_dead_strip	_ath9k_hw_verify_hang
.subsections_via_symbols
