	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_reset_fatalerror
_ipw2100_reset_fatalerror:              ## @ipw2100_reset_fatalerror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	16(%rdi), %rdx
	movslq	8(%rdi), %rsi
	leal	1(%rsi), %eax
	movq	%rcx, (%rdx,%rsi,8)
	movq	_IPW2100_ERROR_QUEUE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, 8(%rdi)
	movq	$0, (%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPW2100_ERROR_QUEUE,4,2        ## @IPW2100_ERROR_QUEUE
	.no_dead_strip	_ipw2100_reset_fatalerror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw2100_reset_fatalerror
_ipw2100_reset_fatalerror:              ; @ipw2100_reset_fatalerror
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0, #16]
	ldrsw	x10, [x0, #8]
	str	x8, [x9, x10, lsl #3]
Lloh0:
	adrp	x8, _IPW2100_ERROR_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPW2100_ERROR_QUEUE@GOTPAGEOFF]
	add	w9, w10, #1
Lloh2:
	ldr	w8, [x8]
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	str	w8, [x0, #8]
	str	xzr, [x0]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPW2100_ERROR_QUEUE,4,2        ; @IPW2100_ERROR_QUEUE
	.no_dead_strip	_ipw2100_reset_fatalerror
.subsections_via_symbols
