	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_multi_regread
_ath9k_multi_regread:                   ## @ath9k_multi_regread
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_ath9k_hw_common
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%ebx, %r14d
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r15,4), %edi
	callq	_cpu_to_be32
	movl	%eax, -80(%rbp,%r15,4)
	incq	%r15
	cmpq	%r15, %r14
	jne	LBB0_2
LBB0_3:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movq	_WMI_REG_READ_CMDID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	(,%rbx,4), %ecx
	movl	$100, (%rsp)
	leaq	-80(%rbp), %rdx
	leaq	-112(%rbp), %r8
	movl	%ecx, %r9d
	callq	_ath9k_wmi_cmd
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_ath_dbg
LBB0_5:
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-112(%rbp,%rbx,4), %edi
	callq	_be32_to_cpu
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_7
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_REG_READ_CMDID,4,2         ## @WMI_REG_READ_CMDID
	.comm	_WMI,4,2                        ## @WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multiple REGISTER READ FAILED (count: %d)\n"

	.no_dead_strip	_ath9k_multi_regread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_multi_regread
_ath9k_multi_regread:                   ; @ath9k_multi_regread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_ath9k_hw_common
	mov	x21, x0
	ldr	x24, [x0]
	mov	w23, w20
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	add	x25, sp, #40
	mov	x26, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22], #4
	bl	_cpu_to_be32
	str	w0, [x25], #4
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x24]
Lloh3:
	adrp	x8, _WMI_REG_READ_CMDID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_REG_READ_CMDID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsl	w3, w20, #2
	add	x2, sp, #40
	add	x4, sp, #8
	mov	x5, x3
	mov	w6, #100
	bl	_ath9k_wmi_cmd
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _WMI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WMI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_ath_dbg
LBB0_5:
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.6:
	add	x20, sp, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_be32_to_cpu
	str	w0, [x19], #4
	subs	x23, x23, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	x8, [sp, #72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_REG_READ_CMDID,4,2         ; @WMI_REG_READ_CMDID
	.comm	_WMI,4,2                        ; @WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple REGISTER READ FAILED (count: %d)\n"

	.no_dead_strip	_ath9k_multi_regread
.subsections_via_symbols
