	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_hif_proc_counter_intr
_ath6kl_hif_proc_counter_intr:          ## @ath6kl_hif_proc_counter_intr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ATH6KL_DBG_IRQ@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movl	(%r14), %ebx
	andl	4(%r14), %ebx
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movq	_ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_hif_proc_dbg_intr       ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH6KL_DBG_IRQ,4,2             ## @ATH6KL_DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"counter interrupt\n"

L_.str.1:                               ## @.str.1
	.asciz	"valid interrupt source(s) in COUNTER_INT_STATUS: 0x%x\n"

	.comm	_ATH6KL_TARGET_DEBUG_INTR_MASK,4,2 ## @ATH6KL_TARGET_DEBUG_INTR_MASK
	.no_dead_strip	_ath6kl_hif_proc_counter_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_hif_proc_counter_intr
_ath6kl_hif_proc_counter_intr:          ; @ath6kl_hif_proc_counter_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _ATH6KL_DBG_IRQ@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ATH6KL_DBG_IRQ@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ath6kl_dbg
	ldp	w9, w8, [x19]
	and	w21, w9, w8
	ldr	w0, [x20]
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ath6kl_dbg
Lloh6:
	adrp	x8, _ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH6KL_TARGET_DEBUG_INTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	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
	add	sp, sp, #64
	b	_ath6kl_hif_proc_dbg_intr
LBB0_2:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH6KL_DBG_IRQ,4,2             ; @ATH6KL_DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"counter interrupt\n"

l_.str.1:                               ; @.str.1
	.asciz	"valid interrupt source(s) in COUNTER_INT_STATUS: 0x%x\n"

	.comm	_ATH6KL_TARGET_DEBUG_INTR_MASK,4,2 ; @ATH6KL_TARGET_DEBUG_INTR_MASK
	.no_dead_strip	_ath6kl_hif_proc_counter_intr
.subsections_via_symbols
