	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_file_gen
_iwl_dump_ini_file_gen:                 ## @iwl_dump_ini_file_gen
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_iwl_fw_ini_trigger_on
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	(%r13), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	movq	(%r12), %rdi
	callq	_le32_to_cpu
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r15
	movl	$16, (%rax)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_iwl_dump_ini_trigger
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %rbx
	movq	8(%r15), %r12
	movq	_IWL_FW_INI_ERROR_DUMP_BARKER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le32
	movq	%rax, 8(%r12)
	movslq	(%r15), %rax
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_cpu_to_le32
	movq	%rax, (%r12)
	addq	$4, %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_list_add
	movq	(%r12), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_le32_to_cpu                    ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	callq	_kfree
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IWL_FW_INI_ERROR_DUMP_BARKER,8,3 ## @IWL_FW_INI_ERROR_DUMP_BARKER
	.no_dead_strip	_iwl_dump_ini_file_gen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_ini_file_gen
_iwl_dump_ini_file_gen:                 ; @iwl_dump_ini_file_gen
	.cfi_startproc
; %bb.0:
	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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_iwl_fw_ini_trigger_on
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x20]
	ldr	x22, [x8, w21, uxtw #3]
	cbz	x22, LBB0_7
; %bb.2:
	ldr	x0, [x22]
	bl	_le32_to_cpu
	cbz	x0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x21, x0
	mov	w8, #16
	str	w8, [x0]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_iwl_dump_ini_trigger
	cbz	x0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	x22, [x21, #8]
Lloh3:
	adrp	x8, _IWL_FW_INI_ERROR_DUMP_BARKER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_FW_INI_ERROR_DUMP_BARKER@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_cpu_to_le32
	str	x0, [x22, #8]
	ldrsw	x8, [x21]
	add	x0, x20, x8
	bl	_cpu_to_le32
	str	x0, [x22]
	add	x0, x21, #4
	mov	x1, x19
	bl	_list_add
	ldr	x0, [x22]
	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	_le32_to_cpu
LBB0_6:
	mov	x0, x21
	bl	_kfree
LBB0_7:
	mov	x0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IWL_FW_INI_ERROR_DUMP_BARKER,8,3 ; @IWL_FW_INI_ERROR_DUMP_BARKER
	.no_dead_strip	_iwl_dump_ini_file_gen
.subsections_via_symbols
