	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_core_get_fw_name
_ath10k_core_get_fw_name:               ## @ath10k_core_get_fw_name
	.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
	movl	(%rdi), %edi
	leal	-128(%rdi), %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	$26, %ecx
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.2:
	movq	_ATH10K_FW_FILE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
LBB0_4:
	movq	_ATH10K_FW_FILE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ath10k_bus_str
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s-%d.bin"

	.comm	_ATH10K_FW_FILE_BASE,4,2        ## @ATH10K_FW_FILE_BASE
L_.str.1:                               ## @.str.1
	.asciz	"%s-%d.bin"

	.no_dead_strip	_ath10k_core_get_fw_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_core_get_fw_name
_ath10k_core_get_fw_name:               ; @ath10k_core_get_fw_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w0, [x0]
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #26
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ATH10K_FW_FILE_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_FW_FILE_BASE@GOTPAGEOFF]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh4:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_scnprintf
LBB0_3:
Lloh5:
	adrp	x8, _ATH10K_FW_FILE_BASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_FW_FILE_BASE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	bl	_ath10k_bus_str
	mov	x4, x0
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	str	x19, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	bl	_scnprintf
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s-%d.bin"

	.comm	_ATH10K_FW_FILE_BASE,4,2        ; @ATH10K_FW_FILE_BASE
l_.str.1:                               ; @.str.1
	.asciz	"%s-%d.bin"

	.no_dead_strip	_ath10k_core_get_fw_name
.subsections_via_symbols
