	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tlv_swba_tim_parse
_ath10k_wmi_tlv_swba_tim_parse:         ## @ath10k_wmi_tlv_swba_tim_parse
	.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	_WMI_TLV_TAG_STRUCT_TIM_INFO@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_1
## %bb.3:
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	(%r8), %r12
	movq	8(%r8), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r12
	jae	LBB0_4
## %bb.5:
	movl	16(%r14), %edi
	callq	___le32_to_cpu
	cmpl	$5, %eax
	jb	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_ath10k_warn
LBB0_1:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	16(%r14), %edx
	leaq	(%rax,%rax,4), %rsi
	movl	%edx, 16(%rcx,%rsi,4)
	movups	(%r14), %xmm0
	movups	%xmm0, (%rcx,%rsi,4)
	incq	%rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_TLV_TAG_STRUCT_TIM_INFO,8,3 ## @WMI_TLV_TAG_STRUCT_TIM_INFO
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refusing to parse invalid swba structure\n"

	.no_dead_strip	_ath10k_wmi_tlv_swba_tim_parse
.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_swba_tim_parse
_ath10k_wmi_tlv_swba_tim_parse:         ; @ath10k_wmi_tlv_swba_tim_parse
	.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
Lloh0:
	adrp	x8, _WMI_TLV_TAG_STRUCT_TIM_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_TIM_INFO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	ldp	x22, x8, [x4]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_5
; %bb.2:
	ldr	w0, [x20, #16]
	bl	___le32_to_cpu
	cmp	w0, #5
	b.lo	LBB0_8
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ath10k_warn
LBB0_4:
Lloh5:
	adrp	x8, _EPROTO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	mov	w0, #0
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	w10, [x20, #16]
	mov	w11, #20
	madd	x8, x9, x11, x8
	str	w10, [x8, #16]
	ldr	q0, [x20]
	str	q0, [x8]
	add	x8, x9, #1
	str	x8, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_TLV_TAG_STRUCT_TIM_INFO,8,3 ; @WMI_TLV_TAG_STRUCT_TIM_INFO
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refusing to parse invalid swba structure\n"

	.no_dead_strip	_ath10k_wmi_tlv_swba_tim_parse
.subsections_via_symbols
