	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_hif_proc_err_intr
_ath6kl_hif_proc_err_intr:              ## @ath6kl_hif_proc_err_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_ATH6KL_DBG_IRQ@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movl	4(%r14), %ebx
	andl	$15, %ebx
	je	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movq	_ERROR_INT_STATUS_WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_MS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_ath6kl_dbg
LBB0_4:
	movq	_ERROR_INT_STATUS_RX_UNDERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_MS
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	callq	_ath6kl_err
LBB0_6:
	movq	_ERROR_INT_STATUS_TX_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_MS
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	callq	_ath6kl_err
LBB0_8:
	movl	%ebx, %eax
	notl	%eax
	andl	%eax, 4(%r14)
	movl	%ebx, -64(%rbp)
	movq	$0, -60(%rbp)
	movl	$0, -52(%rbp)
	movl	(%r14), %edi
	movq	_ERROR_INT_STATUS_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HIF_WR_SYNC_BYTE_FIX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rdx
	movl	$4, %ecx
	callq	_hif_read_write_sync
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_WARN_ON
	jmp	LBB0_9
LBB0_1:
	movl	$1, %edi
	callq	_WARN_ON
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH6KL_DBG_IRQ,4,2             ## @ATH6KL_DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error interrupt\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"valid interrupt source(s) in ERROR_INT_STATUS: 0x%x\n"

	.comm	_ERROR_INT_STATUS_WAKEUP,4,2    ## @ERROR_INT_STATUS_WAKEUP
L_.str.2:                               ## @.str.2
	.asciz	"error : wakeup\n"

	.comm	_ERROR_INT_STATUS_RX_UNDERFLOW,4,2 ## @ERROR_INT_STATUS_RX_UNDERFLOW
L_.str.3:                               ## @.str.3
	.asciz	"rx underflow\n"

	.comm	_ERROR_INT_STATUS_TX_OVERFLOW,4,2 ## @ERROR_INT_STATUS_TX_OVERFLOW
L_.str.4:                               ## @.str.4
	.asciz	"tx overflow\n"

	.comm	_ERROR_INT_STATUS_ADDRESS,4,2   ## @ERROR_INT_STATUS_ADDRESS
	.comm	_HIF_WR_SYNC_BYTE_FIX,4,2       ## @HIF_WR_SYNC_BYTE_FIX
	.no_dead_strip	_ath6kl_hif_proc_err_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_err_intr
_ath6kl_hif_proc_err_intr:              ; @ath6kl_hif_proc_err_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _ATH6KL_DBG_IRQ@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ATH6KL_DBG_IRQ@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ath6kl_dbg
	ldr	w8, [x19, #4]
	ands	w20, w8, #0xf
	b.eq	LBB0_8
; %bb.1:
	ldr	w0, [x21]
	str	x20, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ath6kl_dbg
Lloh9:
	adrp	x8, _ERROR_INT_STATUS_WAKEUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_INT_STATUS_WAKEUP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_MS
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ath6kl_dbg
LBB0_3:
Lloh14:
	adrp	x8, _ERROR_INT_STATUS_RX_UNDERFLOW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR_INT_STATUS_RX_UNDERFLOW@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_MS
	cbz	x0, LBB0_5
; %bb.4:
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ath6kl_err
LBB0_5:
Lloh19:
	adrp	x8, _ERROR_INT_STATUS_TX_OVERFLOW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR_INT_STATUS_TX_OVERFLOW@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_MS
	cbz	x0, LBB0_7
; %bb.6:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ath6kl_err
LBB0_7:
	ldp	w0, w8, [x19]
	bic	w8, w8, w20
	str	w8, [x19, #4]
	stp	w20, wzr, [sp, #8]
	str	xzr, [sp, #16]
Lloh24:
	adrp	x8, _ERROR_INT_STATUS_ADDRESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR_INT_STATUS_ADDRESS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _HIF_WR_SYNC_BYTE_FIX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HIF_WR_SYNC_BYTE_FIX@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	add	x2, sp, #8
	mov	w3, #4
	bl	_hif_read_write_sync
	mov	x19, x0
	bl	_WARN_ON
	b	LBB0_9
LBB0_8:
	mov	w0, #1
	bl	_WARN_ON
Lloh30:
	adrp	x8, _EIO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_9:
	ldr	x8, [sp, #24]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH6KL_DBG_IRQ,4,2             ; @ATH6KL_DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error interrupt\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"valid interrupt source(s) in ERROR_INT_STATUS: 0x%x\n"

	.comm	_ERROR_INT_STATUS_WAKEUP,4,2    ; @ERROR_INT_STATUS_WAKEUP
l_.str.2:                               ; @.str.2
	.asciz	"error : wakeup\n"

	.comm	_ERROR_INT_STATUS_RX_UNDERFLOW,4,2 ; @ERROR_INT_STATUS_RX_UNDERFLOW
l_.str.3:                               ; @.str.3
	.asciz	"rx underflow\n"

	.comm	_ERROR_INT_STATUS_TX_OVERFLOW,4,2 ; @ERROR_INT_STATUS_TX_OVERFLOW
l_.str.4:                               ; @.str.4
	.asciz	"tx overflow\n"

	.comm	_ERROR_INT_STATUS_ADDRESS,4,2   ; @ERROR_INT_STATUS_ADDRESS
	.comm	_HIF_WR_SYNC_BYTE_FIX,4,2       ; @HIF_WR_SYNC_BYTE_FIX
	.no_dead_strip	_ath6kl_hif_proc_err_intr
.subsections_via_symbols
