	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_fw_error_collect
_iwl_fw_error_collect:                  ## @iwl_fw_error_collect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_iwl_trans_dbg_ini_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_IWL_FW_TRIGGER_ID_FW_HW_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__iwl_fw_dbg_ini_collect
	movq	(%rbx), %rax
	movl	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_iwl_dump_desc_assert@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_fw_dbg_collect_desc        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_FW_TRIGGER_ID_FW_HW_ERROR,4,2 ## @IWL_FW_TRIGGER_ID_FW_HW_ERROR
	.comm	_iwl_dump_desc_assert,4,2       ## @iwl_dump_desc_assert
	.no_dead_strip	_iwl_fw_error_collect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_fw_error_collect
_iwl_fw_error_collect:                  ; @iwl_fw_error_collect
	.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
	ldr	x0, [x0]
	bl	_iwl_trans_dbg_ini_valid
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IWL_FW_TRIGGER_ID_FW_HW_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_FW_TRIGGER_ID_FW_HW_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__iwl_fw_dbg_ini_collect
	ldr	x8, [x19]
	str	wzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x1, _iwl_dump_desc_assert@GOTPAGE
Lloh4:
	ldr	x1, [x1, _iwl_dump_desc_assert@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_fw_dbg_collect_desc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_FW_TRIGGER_ID_FW_HW_ERROR,4,2 ; @IWL_FW_TRIGGER_ID_FW_HW_ERROR
	.comm	_iwl_dump_desc_assert,4,2       ; @iwl_dump_desc_assert
	.no_dead_strip	_iwl_fw_error_collect
.subsections_via_symbols
