	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function micinit
_micinit:                               ## @micinit
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_JOB_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_clear_bit
	movq	_RID_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$40, %ecx
	xorl	%r8d, %r8d
	callq	_PC4500_readrid
	leaq	20(%rbx), %rdi
	callq	_up
	movl	-16(%rbp), %edi
	callq	_le16_to_cpu
	xorl	%ecx, %ecx
	testb	%al, %al
	setne	%cl
	movl	%ecx, 16(%rbx)
	je	LBB0_1
## %bb.2:
	cmpq	$0, -24(%rbp)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rsi
	leaq	8(%rsi), %rdi
	addq	$24, %rsi
	movl	-32(%rbp), %edx
	movl	(%rbx), %r8d
	movl	$4, %ecx
	callq	_age_mic_context
LBB0_4:
	cmpq	$0, -40(%rbp)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rdi
	leaq	16(%rdi), %rsi
	movl	-48(%rbp), %edx
	movl	(%rbx), %r8d
	movl	$4, %ecx
	callq	_age_mic_context
	jmp	LBB0_6
LBB0_1:
	movq	8(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JOB_MIC,4,2                    ## @JOB_MIC
	.comm	_RID_MIC,4,2                    ## @RID_MIC
	.no_dead_strip	_micinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function micinit
_micinit:                               ; @micinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, _JOB_MIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JOB_MIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_clear_bit
Lloh3:
	adrp	x8, _RID_MIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RID_MIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #40
	mov	w4, #0
	bl	_PC4500_readrid
	add	x0, x19, #20
	bl	_up
	ldr	w0, [sp, #40]
	bl	_le16_to_cpu
	ands	w8, w0, #0xff
	cset	w9, ne
	str	w9, [x19, #16]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	add	x1, x8, #24
	ldr	w2, [sp, #24]
	ldr	w4, [x19]
	mov	w3, #4
	bl	_age_mic_context
LBB0_3:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x0, [x19, #8]
	add	x1, x0, #16
	ldr	w2, [sp, #8]
	ldr	w4, [x19]
	mov	w3, #4
	bl	_age_mic_context
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19, #8]
	stp	xzr, xzr, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JOB_MIC,4,2                    ; @JOB_MIC
	.comm	_RID_MIC,4,2                    ; @RID_MIC
	.no_dead_strip	_micinit
.subsections_via_symbols
