	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tlv_op_pull_ch_info_ev
_ath10k_wmi_tlv_op_pull_ch_info_ev:     ## @ath10k_wmi_tlv_op_pull_ch_info_ev
	.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, %r14
	movq	%rdi, %r15
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ath10k_wmi_tlv_parse_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_7
LBB0_2:
	movq	_WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movl	24(%r12), %eax
	movl	%eax, 24(%r14)
	movl	20(%r12), %eax
	movl	%eax, 20(%r14)
	movups	4(%r12), %xmm0
	movups	%xmm0, 4(%r14)
	movq	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r12), %eax
	movl	%eax, (%r14)
LBB0_6:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT,8,3 ## @WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL,4,2 ## @ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL
	.no_dead_strip	_ath10k_wmi_tlv_op_pull_ch_info_ev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_tlv_op_pull_ch_info_ev
_ath10k_wmi_tlv_op_pull_ch_info_ev:     ; @ath10k_wmi_tlv_op_pull_ch_info_ev
	.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	x19, x2
	mov	x20, x0
	ldp	w2, w8, [x1]
Lloh0:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x1, x8
	bl	_ath10k_wmi_tlv_parse_alloc
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_ath10k_warn
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x8, _WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x22, [x21, x8, lsl #3]
	cbz	x22, LBB0_6
; %bb.3:
	ldur	d0, [x22, #20]
	stur	d0, [x19, #20]
	ldur	q0, [x22, #4]
	stur	q0, [x19, #4]
Lloh8:
	adrp	x8, _ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w1, [x8]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x22]
	str	w8, [x19]
LBB0_5:
	mov	x0, x21
	bl	_kfree
	mov	w19, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_kfree
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT,8,3 ; @WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL,4,2 ; @ATH10K_FW_FEATURE_SINGLE_CHAN_INFO_PER_CHANNEL
	.no_dead_strip	_ath10k_wmi_tlv_op_pull_ch_info_ev
.subsections_via_symbols
