	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_send_phy_db_data           ## -- Begin function iwl_send_phy_db_data
	.p2align	4, 0x90
_iwl_send_phy_db_data:                  ## @iwl_send_phy_db_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	movl	$0, -28(%rbp)
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_IWL_DEBUG_INFO
	movq	_IWL_PHY_DB_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_iwl_phy_db_get_section_data
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_2:
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	movq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_iwl_send_phy_db_cmd
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_4:
	movq	_IWL_PHY_DB_CALIB_NCH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_iwl_phy_db_get_section_data
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_6:
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	movq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_iwl_send_phy_db_cmd
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_8:
	movq	_IWL_PHY_DB_CALIB_CHG_PAPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%r14, %rdi
	callq	_iwl_phy_db_send_all_channel_groups
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_10:
	movq	_IWL_PHY_DB_CALIB_CHG_TXP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r14, %rdi
	callq	_iwl_phy_db_send_all_channel_groups
	movl	(%r14), %edi
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	callq	_IWL_ERR
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.7(%rip), %rsi
	callq	_IWL_DEBUG_INFO
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending phy db data and configuration to runtime image\n"

	.comm	_IWL_PHY_DB_CFG,4,2             ## @IWL_PHY_DB_CFG
L_.str.1:                               ## @.str.1
	.asciz	"Cannot get Phy DB cfg section\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot send HCMD of  Phy DB cfg section\n"

	.comm	_IWL_PHY_DB_CALIB_NCH,4,2       ## @IWL_PHY_DB_CALIB_NCH
L_.str.3:                               ## @.str.3
	.asciz	"Cannot get Phy DB non specific channel section\n"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot send HCMD of Phy DB non specific channel section\n"

	.comm	_IWL_PHY_DB_CALIB_CHG_PAPD,4,2  ## @IWL_PHY_DB_CALIB_CHG_PAPD
L_.str.5:                               ## @.str.5
	.asciz	"Cannot send channel specific PAPD groups\n"

	.comm	_IWL_PHY_DB_CALIB_CHG_TXP,4,2   ## @IWL_PHY_DB_CALIB_CHG_TXP
L_.str.6:                               ## @.str.6
	.asciz	"Cannot send channel specific TX power groups\n"

L_.str.7:                               ## @.str.7
	.asciz	"Finished sending phy db non channel data\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_send_phy_db_data           ; -- Begin function iwl_send_phy_db_data
	.p2align	2
_iwl_send_phy_db_data:                  ; @iwl_send_phy_db_data
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_INFO
Lloh2:
	adrp	x21, _IWL_PHY_DB_CFG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IWL_PHY_DB_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	mov	w4, #0
	bl	_iwl_phy_db_get_section_data
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_2:
	ldr	w1, [x21]
	ldr	w2, [sp, #4]
	ldr	x3, [sp, #8]
	mov	x0, x19
	bl	_iwl_send_phy_db_cmd
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_4:
Lloh8:
	adrp	x21, _IWL_PHY_DB_CALIB_NCH@GOTPAGE
Lloh9:
	ldr	x21, [x21, _IWL_PHY_DB_CALIB_NCH@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	mov	w4, #0
	bl	_iwl_phy_db_get_section_data
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_6:
	ldr	w1, [x21]
	ldr	w2, [sp, #4]
	ldr	x3, [sp, #8]
	mov	x0, x19
	bl	_iwl_send_phy_db_cmd
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_8:
Lloh14:
	adrp	x8, _IWL_PHY_DB_CALIB_CHG_PAPD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IWL_PHY_DB_CALIB_CHG_PAPD@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_iwl_phy_db_send_all_channel_groups
	cbz	w0, LBB0_10
; %bb.9:
	mov	x20, x0
	ldr	w0, [x19]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_10:
Lloh19:
	adrp	x8, _IWL_PHY_DB_CALIB_CHG_TXP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IWL_PHY_DB_CALIB_CHG_TXP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_iwl_phy_db_send_all_channel_groups
	mov	x20, x0
	ldr	w0, [x19]
	cbz	w20, LBB0_12
; %bb.11:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_IWL_ERR
	b	LBB0_13
LBB0_12:
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_IWL_DEBUG_INFO
LBB0_13:
	mov	x0, x20
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending phy db data and configuration to runtime image\n"

	.comm	_IWL_PHY_DB_CFG,4,2             ; @IWL_PHY_DB_CFG
l_.str.1:                               ; @.str.1
	.asciz	"Cannot get Phy DB cfg section\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot send HCMD of  Phy DB cfg section\n"

	.comm	_IWL_PHY_DB_CALIB_NCH,4,2       ; @IWL_PHY_DB_CALIB_NCH
l_.str.3:                               ; @.str.3
	.asciz	"Cannot get Phy DB non specific channel section\n"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot send HCMD of Phy DB non specific channel section\n"

	.comm	_IWL_PHY_DB_CALIB_CHG_PAPD,4,2  ; @IWL_PHY_DB_CALIB_CHG_PAPD
l_.str.5:                               ; @.str.5
	.asciz	"Cannot send channel specific PAPD groups\n"

	.comm	_IWL_PHY_DB_CALIB_CHG_TXP,4,2   ; @IWL_PHY_DB_CALIB_CHG_TXP
l_.str.6:                               ; @.str.6
	.asciz	"Cannot send channel specific TX power groups\n"

l_.str.7:                               ; @.str.7
	.asciz	"Finished sending phy db non channel data\n"

.subsections_via_symbols
