	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_core_fetch_board_data_api_1
_ath10k_core_fetch_board_data_api_1:    ## @ath10k_core_fetch_board_data_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ATH10K_BD_IE_BOARD@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_6
## %bb.1:
	movl	40(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.4:
	movl	36(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ath10k_fetch_fw_file
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movl	4(%rdi), %eax
	movl	%eax, 28(%rbx)
	movl	(%rdi), %eax
	movl	%eax, 24(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_6:
	movq	_ATH10K_BD_IE_BOARD_EXT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	%esi, (%rax)
	jne	LBB0_11
## %bb.7:
	movl	32(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_8
## %bb.9:
	movl	36(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ath10k_fetch_fw_file
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_10
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%rbx, %rdi
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movl	4(%rdi), %eax
	movl	%eax, 12(%rbx)
	movl	(%rdi), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_BD_IE_BOARD,4,2         ## @ATH10K_BD_IE_BOARD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find board file fw entry\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATH10K_BD_IE_BOARD_EXT,4,2     ## @ATH10K_BD_IE_BOARD_EXT
L_.str.1:                               ## @.str.1
	.asciz	"failed to find eboard file fw entry\n"

	.no_dead_strip	_ath10k_core_fetch_board_data_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_core_fetch_board_data_api_1
_ath10k_core_fetch_board_data_api_1:    ; @ath10k_core_fetch_board_data_api_1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ATH10K_BD_IE_BOARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_BD_IE_BOARD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	w2, [x19, #40]
	cbz	w2, LBB0_9
; %bb.2:
	ldr	w1, [x19, #36]
	mov	x0, x19
	bl	_ath10k_fetch_fw_file
	str	x0, [x19, #16]
	bl	_IS_ERR
	ldr	x8, [x19, #16]
	cbnz	x0, LBB0_7
; %bb.3:
	ldr	d0, [x8]
	str	d0, [x19, #24]
	b	LBB0_12
LBB0_4:
Lloh3:
	adrp	x8, _ATH10K_BD_IE_BOARD_EXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_BD_IE_BOARD_EXT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_8
; %bb.5:
	ldr	w2, [x19, #32]
	cbz	w2, LBB0_10
; %bb.6:
	ldr	w1, [x19, #36]
	mov	x0, x19
	bl	_ath10k_fetch_fw_file
	str	x0, [x19]
	bl	_IS_ERR
	ldr	x8, [x19]
	cbz	x0, LBB0_13
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_ath10k_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	d0, [x8]
	str	d0, [x19, #8]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_BD_IE_BOARD,4,2         ; @ATH10K_BD_IE_BOARD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find board file fw entry\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATH10K_BD_IE_BOARD_EXT,4,2     ; @ATH10K_BD_IE_BOARD_EXT
l_.str.1:                               ; @.str.1
	.asciz	"failed to find eboard file fw entry\n"

	.no_dead_strip	_ath10k_core_fetch_board_data_api_1
.subsections_via_symbols
