	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_push_board_ext_data
_ath10k_push_board_ext_data:            ## @ath10k_push_board_ext_data
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	8(%rdi), %r13
	movq	_hi_board_ext_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_ath10k_bmi_read32
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_err
LBB0_10:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_ATH10K_DBG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ath10k_dbg
	movq	-48(%rbp), %rsi
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.3:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r8,%rcx), %rax
	cmpq	%r15, %rax
	jne	LBB0_4
## %bb.5:
	addq	%rcx, %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r8, %rcx
	movq	%r8, %r12
	callq	_ath10k_bmi_write_memory
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	movq	%r15, %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_7:
	movq	_hi_board_ext_data_config@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shlq	$16, %r12
	orq	$1, %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_ath10k_bmi_write32
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
LBB0_9:
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_ath10k_err
	movl	%r15d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_hi_board_ext_data,4,2          ## @hi_board_ext_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not read board ext data addr (%d)\n"

	.comm	_ATH10K_DBG_BOOT,4,2            ## @ATH10K_DBG_BOOT
L_.str.1:                               ## @.str.1
	.asciz	"boot push board extended data addr 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid board (ext) data sizes %zu != %d+%d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"could not write board ext data (%d)\n"

	.comm	_hi_board_ext_data_config,4,2   ## @hi_board_ext_data_config
L_.str.4:                               ## @.str.4
	.asciz	"could not write board ext data bit (%d)\n"

	.no_dead_strip	_ath10k_push_board_ext_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_push_board_ext_data
_ath10k_push_board_ext_data:            ; @ath10k_push_board_ext_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldp	x24, x20, [x0]
Lloh0:
	adrp	x8, _hi_board_ext_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hi_board_ext_data@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_ath10k_bmi_read32
	cbz	w0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_err
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
Lloh5:
	adrp	x8, _ATH10K_DBG_BOOT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_DBG_BOOT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x3, [sp, #24]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_8
; %bb.5:
	add	x8, x20, x24
	cmp	x8, x22
	b.ne	LBB0_9
; %bb.6:
	add	x2, x23, x24
	mov	x0, x19
	mov	x3, x20
	bl	_ath10k_bmi_write_memory
	cbz	w0, LBB0_10
; %bb.7:
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_8:
	mov	w21, #0
	b	LBB0_3
LBB0_9:
	stp	x24, x20, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_ath10k_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_3
LBB0_10:
Lloh17:
	adrp	x8, _hi_board_ext_data_config@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hi_board_ext_data_config@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w2, #1
	bfi	x2, x20, #16, #48
	mov	x0, x19
	bl	_ath10k_bmi_write32
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.11:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_hi_board_ext_data,4,2          ; @hi_board_ext_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not read board ext data addr (%d)\n"

	.comm	_ATH10K_DBG_BOOT,4,2            ; @ATH10K_DBG_BOOT
l_.str.1:                               ; @.str.1
	.asciz	"boot push board extended data addr 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid board (ext) data sizes %zu != %d+%d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"could not write board ext data (%d)\n"

	.comm	_hi_board_ext_data_config,4,2   ; @hi_board_ext_data_config
l_.str.4:                               ; @.str.4
	.asciz	"could not write board ext data bit (%d)\n"

	.no_dead_strip	_ath10k_push_board_ext_data
.subsections_via_symbols
