	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_x100_intr_workarounds
_mic_x100_intr_workarounds:             ## @mic_x100_intr_workarounds
	.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	_MIC_A0_STEP@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rax
	cmpq	%rax, (%rcx)
	jne	LBB0_2
## %bb.1:
	leaq	16(%rbx), %rdi
	movq	_MIC_X100_SBOX_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movq	_MIC_X100_SBOX_MSIXPBACR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	addq	(%rax), %rdx
	movl	$1, %esi
	callq	_mic_mmio_write
	movq	(%rbx), %rax
LBB0_2:
	movq	_MIC_B0_STEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIC_A0_STEP,8,3                ## @MIC_A0_STEP
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ## @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_MSIXPBACR,8,3    ## @MIC_X100_SBOX_MSIXPBACR
	.comm	_MIC_B0_STEP,8,3                ## @MIC_B0_STEP
	.no_dead_strip	_mic_x100_intr_workarounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_x100_intr_workarounds
_mic_x100_intr_workarounds:             ; @mic_x100_intr_workarounds
	.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, _MIC_A0_STEP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIC_A0_STEP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x0]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGEOFF]
	add	x0, x19, #16
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MIC_X100_SBOX_MSIXPBACR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIC_X100_SBOX_MSIXPBACR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x2, x9, x8
	mov	w1, #1
	bl	_mic_mmio_write
	ldr	x8, [x19]
LBB0_2:
Lloh9:
	adrp	x9, _MIC_B0_STEP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MIC_B0_STEP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MIC_A0_STEP,8,3                ; @MIC_A0_STEP
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ; @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_MSIXPBACR,8,3    ; @MIC_X100_SBOX_MSIXPBACR
	.comm	_MIC_B0_STEP,8,3                ; @MIC_B0_STEP
	.no_dead_strip	_mic_x100_intr_workarounds
.subsections_via_symbols
