	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_x100_program_msi_to_src_map
_mic_x100_program_msi_to_src_map:       ## @mic_x100_program_msi_to_src_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	_MIC_X100_SBOX_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movq	_MIC_X100_SBOX_MXAR0@GOTPCREL(%rip), %rcx
	shll	$2, %esi
	movslq	%esi, %rbx
	addq	(%rax), %rbx
	addq	(%rcx), %rbx
	movq	%rbx, %rsi
	callq	_mic_mmio_read
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movl	%r15d, %edi
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	callq	___set_bit
	jmp	LBB0_3
LBB0_2:
	callq	___clear_bit
LBB0_3:
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_mic_mmio_write
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ## @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_MXAR0,8,3        ## @MIC_X100_SBOX_MXAR0
	.no_dead_strip	_mic_x100_program_msi_to_src_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_x100_program_msi_to_src_map
_mic_x100_program_msi_to_src_map:       ; @mic_x100_program_msi_to_src_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MIC_X100_SBOX_MXAR0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIC_X100_SBOX_MXAR0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	w10, w1, #2
	add	x8, x8, w10, sxtw
	add	x20, x8, x9
	mov	x1, x20
	bl	_mic_mmio_read
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x21
	cbz	w22, LBB0_2
; %bb.1:
	bl	___set_bit
	b	LBB0_3
LBB0_2:
	bl	___clear_bit
LBB0_3:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_mic_mmio_write
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ; @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_MXAR0,8,3        ; @MIC_X100_SBOX_MXAR0
	.no_dead_strip	_mic_x100_program_msi_to_src_map
.subsections_via_symbols
