	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_ready         ## -- Begin function ath10k_wmi_event_ready
	.p2align	4, 0x90
_ath10k_wmi_event_ready:                ## @ath10k_wmi_event_ready
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdx
	callq	_ath10k_wmi_pull_rdy
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ath10k_warn
	jmp	LBB0_5
LBB0_2:
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, %r12d
	movl	-56(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, %r13d
	movl	-64(%rbp), %r15d
	movl	-60(%rbp), %edi
	callq	___le32_to_cpu
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	callq	_ath10k_dbg
	movl	4(%rbx), %edi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	movl	-64(%rbp), %esi
	callq	_ether_addr_copy
LBB0_4:
	movq	%rbx, %rdi
	callq	_complete
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse ready event: %d\n"

	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
L_.str.1:                               ## @.str.1
	.asciz	"wmi event ready sw_version %u abi_version %u mac_addr %pM status %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_ready         ; -- Begin function ath10k_wmi_event_ready
	.p2align	2
_ath10k_wmi_event_ready:                ; @ath10k_wmi_event_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	stp	xzr, xzr, [sp]
	mov	x2, sp
	bl	_ath10k_wmi_pull_rdy
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	ldr	w0, [sp, #12]
	bl	___le32_to_cpu
	mov	x22, x0
	ldr	w0, [sp, #8]
	bl	___le32_to_cpu
	mov	x23, x0
	ldp	w24, w0, [sp]
	bl	___le32_to_cpu
	mov	x6, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_ath10k_dbg
	ldr	w0, [x19, #4]
	bl	_is_zero_ether_addr
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w1, [sp]
	bl	_ether_addr_copy
LBB0_4:
	mov	x0, x19
	bl	_complete
LBB0_5:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse ready event: %d\n"

	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
l_.str.1:                               ; @.str.1
	.asciz	"wmi event ready sw_version %u abi_version %u mac_addr %pM status %d\n"

.subsections_via_symbols
