	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_iowrite32
_ath9k_iowrite32:                       ## @ath9k_iowrite32
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_ath9k_hw_common
	movq	(%rax), %r12
	movq	_NR_CPUS@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	movq	_SER_REG_MODE_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	addq	(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iowrite32
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_3:
	addq	(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_CPUS,4,2                    ## @NR_CPUS
	.comm	_SER_REG_MODE_ON,8,3            ## @SER_REG_MODE_ON
	.no_dead_strip	_ath9k_iowrite32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_iowrite32
_ath9k_iowrite32:                       ; @ath9k_iowrite32
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_ath9k_hw_common
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _NR_CPUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_CPUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _SER_REG_MODE_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SER_REG_MODE_ON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x21, x22, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x22]
	add	x1, x8, x20
	mov	x0, x19
	bl	_iowrite32
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_3:
	ldr	x8, [x22]
	add	x1, x8, x20
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_iowrite32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_CPUS,4,2                    ; @NR_CPUS
	.comm	_SER_REG_MODE_ON,8,3            ; @SER_REG_MODE_ON
	.no_dead_strip	_ath9k_iowrite32
.subsections_via_symbols
