	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_tm_fetch_utf_firmware_api_1
_ath10k_tm_fetch_utf_firmware_api_1:    ## @ath10k_tm_fetch_utf_firmware_api_1
	.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
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %rcx
	movq	_ATH10K_FW_UTF_FILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdx
	leaq	-144(%rbp), %r12
	movq	%r12, %rdi
	movl	$100, %esi
	callq	_snprintf
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_firmware_request_nowarn
	movl	%eax, %r15d
	movq	_ATH10K_DBG_TESTMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	_ath10k_dbg
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	leaq	-144(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_ath10k_warn
	jmp	LBB0_3
LBB0_2:
	movq	_ATH10K_FW_WMI_OP_VERSION_10_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_ATH10K_FW_HTT_OP_VERSION_10_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 12(%r14)
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r15d, %eax
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_ATH10K_FW_UTF_FILE,8,3         ## @ATH10K_FW_UTF_FILE
	.comm	_ATH10K_DBG_TESTMODE,4,2        ## @ATH10K_DBG_TESTMODE
L_.str.1:                               ## @.str.1
	.asciz	"testmode fw request '%s': %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to retrieve utf firmware '%s': %d\n"

	.comm	_ATH10K_FW_WMI_OP_VERSION_10_1,4,2 ## @ATH10K_FW_WMI_OP_VERSION_10_1
	.comm	_ATH10K_FW_HTT_OP_VERSION_10_1,4,2 ## @ATH10K_FW_HTT_OP_VERSION_10_1
	.no_dead_strip	_ath10k_tm_fetch_utf_firmware_api_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_tm_fetch_utf_firmware_api_1
_ath10k_tm_fetch_utf_firmware_api_1:    ; @ath10k_tm_fetch_utf_firmware_api_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x3, [x0, #8]
Lloh3:
	adrp	x8, _ATH10K_FW_UTF_FILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_FW_UTF_FILE@GOTPAGEOFF]
Lloh5:
	ldr	x4, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	w1, #100
	bl	_snprintf
	ldr	w2, [x20]
	add	x1, sp, #4
	mov	x0, x19
	bl	_firmware_request_nowarn
	mov	x21, x0
Lloh8:
	adrp	x8, _ATH10K_DBG_TESTMODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_DBG_TESTMODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x3, sp, #4
	mov	x0, x20
	mov	x4, x21
	bl	_ath10k_dbg
	cbz	w21, LBB0_2
; %bb.1:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	mov	x0, x20
	mov	x3, x21
	bl	_ath10k_warn
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _ATH10K_FW_WMI_OP_VERSION_10_1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATH10K_FW_WMI_OP_VERSION_10_1@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _ATH10K_FW_HTT_OP_VERSION_10_1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ATH10K_FW_HTT_OP_VERSION_10_1@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	x8, [x19]
	ldr	d0, [x8]
	str	d0, [x19, #8]
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	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
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_ATH10K_FW_UTF_FILE,8,3         ; @ATH10K_FW_UTF_FILE
	.comm	_ATH10K_DBG_TESTMODE,4,2        ; @ATH10K_DBG_TESTMODE
l_.str.1:                               ; @.str.1
	.asciz	"testmode fw request '%s': %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to retrieve utf firmware '%s': %d\n"

	.comm	_ATH10K_FW_WMI_OP_VERSION_10_1,4,2 ; @ATH10K_FW_WMI_OP_VERSION_10_1
	.comm	_ATH10K_FW_HTT_OP_VERSION_10_1,4,2 ; @ATH10K_FW_HTT_OP_VERSION_10_1
	.no_dead_strip	_ath10k_tm_fetch_utf_firmware_api_1
.subsections_via_symbols
