	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_setrxabort            ## -- Begin function ath9k_hw_setrxabort
	.p2align	4, 0x90
_ath9k_hw_setrxabort:                   ## @ath9k_hw_setrxabort
	.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	_AR_DIAG_RX_DIS@GOTPCREL(%rip), %r14
	movq	_AR_DIAG_RX_ABORT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%r14), %edx
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_AR_DIAG_SW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_REG_SET_BIT
	movq	_AR_OBS_BUS_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_AR_OBS_BUS_1_RX_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AH_WAIT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ath9k_hw_wait
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.2:
	movl	(%r12), %esi
	movl	(%r15), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_REG_CLR_BIT
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_ath9k_hw_common
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_ath_err
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_REG_CLR_BIT
	movl	$1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_DIAG_SW,4,2                 ## @AR_DIAG_SW
	.comm	_AR_DIAG_RX_DIS,4,2             ## @AR_DIAG_RX_DIS
	.comm	_AR_DIAG_RX_ABORT,4,2           ## @AR_DIAG_RX_ABORT
	.comm	_AR_OBS_BUS_1,4,2               ## @AR_OBS_BUS_1
	.comm	_AR_OBS_BUS_1_RX_STATE,4,2      ## @AR_OBS_BUS_1_RX_STATE
	.comm	_AH_WAIT_TIMEOUT,4,2            ## @AH_WAIT_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX failed to go idle in 10 ms RXSM=0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_setrxabort            ; -- Begin function ath9k_hw_setrxabort
	.p2align	2
_ath9k_hw_setrxabort:                   ; @ath9k_hw_setrxabort
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _AR_DIAG_SW@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AR_DIAG_SW@GOTPAGEOFF]
Lloh2:
	adrp	x21, _AR_DIAG_RX_DIS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AR_DIAG_RX_DIS@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w9, [x21]
Lloh4:
	adrp	x22, _AR_DIAG_RX_ABORT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _AR_DIAG_RX_ABORT@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w2, w10, w9
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_REG_SET_BIT
Lloh6:
	adrp	x23, _AR_OBS_BUS_1@GOTPAGE
Lloh7:
	ldr	x23, [x23, _AR_OBS_BUS_1@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh8:
	adrp	x8, _AR_OBS_BUS_1_RX_STATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_OBS_BUS_1_RX_STATE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _AH_WAIT_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AH_WAIT_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_ath9k_hw_wait
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w1, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_REG_CLR_BIT
	ldr	w1, [x23]
	mov	x0, x19
	bl	_REG_READ
	mov	x20, x0
	mov	x0, x19
	bl	_ath9k_hw_common
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_ath_err
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_REG_CLR_BIT
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_DIAG_SW,4,2                 ; @AR_DIAG_SW
	.comm	_AR_DIAG_RX_DIS,4,2             ; @AR_DIAG_RX_DIS
	.comm	_AR_DIAG_RX_ABORT,4,2           ; @AR_DIAG_RX_ABORT
	.comm	_AR_OBS_BUS_1,4,2               ; @AR_OBS_BUS_1
	.comm	_AR_OBS_BUS_1_RX_STATE,4,2      ; @AR_OBS_BUS_1_RX_STATE
	.comm	_AH_WAIT_TIMEOUT,4,2            ; @AH_WAIT_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX failed to go idle in 10 ms RXSM=0x%x\n"

.subsections_via_symbols
