	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_dump_nic_error_log     ## -- Begin function iwl_mvm_dump_nic_error_log
	.p2align	4, 0x90
_iwl_mvm_dump_nic_error_log:            ## @iwl_mvm_dump_nic_error_log
	.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	_STATUS_DEVICE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	addq	$8, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_iwl_mvm_dump_lmac_error_log
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_iwl_mvm_dump_lmac_error_log
LBB0_3:
	movq	%rbx, %rdi
	callq	_iwl_mvm_dump_umac_error_log
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_fw_error_print_fseq_regs   ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IWL_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_DEVICE_ENABLED,4,2      ## @STATUS_DEVICE_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEVICE_ENABLED bit is not set. Aborting dump.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_dump_nic_error_log     ; -- Begin function iwl_mvm_dump_nic_error_log
	.p2align	2
_iwl_mvm_dump_nic_error_log:            ; @iwl_mvm_dump_nic_error_log
	.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
Lloh0:
	adrp	x8, _STATUS_DEVICE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_DEVICE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x1, x8, #8
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_iwl_mvm_dump_lmac_error_log
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	bl	_iwl_mvm_dump_lmac_error_log
LBB0_3:
	mov	x0, x19
	bl	_iwl_mvm_dump_umac_error_log
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_fw_error_print_fseq_regs
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IWL_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_DEVICE_ENABLED,4,2      ; @STATUS_DEVICE_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEVICE_ENABLED bit is not set. Aborting dump.\n"

.subsections_via_symbols
