	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_phy_db_free                ## -- Begin function iwl_phy_db_free
	.p2align	4, 0x90
_iwl_phy_db_free:                       ## @iwl_phy_db_free
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IWL_PHY_DB_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_iwl_phy_db_free_section
	movq	_IWL_PHY_DB_CALIB_NCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_iwl_phy_db_free_section
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	movq	_IWL_PHY_DB_CALIB_CHG_PAPD@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_iwl_phy_db_free_section
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_3
LBB0_4:
	movq	16(%r14), %rdi
	callq	_kfree
	cmpl	$0, 4(%r14)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_IWL_PHY_DB_CALIB_CHG_TXP@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_iwl_phy_db_free_section
	incl	%ebx
	cmpl	4(%r14), %ebx
	jl	LBB0_6
LBB0_7:
	movq	8(%r14), %rdi
	callq	_kfree
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_PHY_DB_CFG,4,2             ## @IWL_PHY_DB_CFG
	.comm	_IWL_PHY_DB_CALIB_NCH,4,2       ## @IWL_PHY_DB_CALIB_NCH
	.comm	_IWL_PHY_DB_CALIB_CHG_PAPD,4,2  ## @IWL_PHY_DB_CALIB_CHG_PAPD
	.comm	_IWL_PHY_DB_CALIB_CHG_TXP,4,2   ## @IWL_PHY_DB_CALIB_CHG_TXP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_phy_db_free                ; -- Begin function iwl_phy_db_free
	.p2align	2
_iwl_phy_db_free:                       ; @iwl_phy_db_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _IWL_PHY_DB_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_PHY_DB_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_iwl_phy_db_free_section
Lloh3:
	adrp	x8, _IWL_PHY_DB_CALIB_NCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_PHY_DB_CALIB_NCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_iwl_phy_db_free_section
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w20, #0
Lloh6:
	adrp	x21, _IWL_PHY_DB_CALIB_CHG_PAPD@GOTPAGE
Lloh7:
	ldr	x21, [x21, _IWL_PHY_DB_CALIB_CHG_PAPD@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_iwl_phy_db_free_section
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_3
LBB0_4:
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w20, #0
Lloh8:
	adrp	x21, _IWL_PHY_DB_CALIB_CHG_TXP@GOTPAGE
Lloh9:
	ldr	x21, [x21, _IWL_PHY_DB_CALIB_CHG_TXP@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_iwl_phy_db_free_section
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_kfree
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_PHY_DB_CFG,4,2             ; @IWL_PHY_DB_CFG
	.comm	_IWL_PHY_DB_CALIB_NCH,4,2       ; @IWL_PHY_DB_CALIB_NCH
	.comm	_IWL_PHY_DB_CALIB_CHG_PAPD,4,2  ; @IWL_PHY_DB_CALIB_CHG_PAPD
	.comm	_IWL_PHY_DB_CALIB_CHG_TXP,4,2   ; @IWL_PHY_DB_CALIB_CHG_TXP
.subsections_via_symbols
