	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic_send_intr                  ## -- Begin function mic_send_intr
	.p2align	4, 0x90
_mic_send_intr:                         ## @mic_send_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MIC_X100_MAX_DOORBELL_IDX@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jge	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_wmb
	movq	_MIC_X100_SBOX_SDBIC0_DBREQ_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MIC_X100_SBOX_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movq	_MIC_X100_SBOX_SDBIC0@GOTPCREL(%rip), %rcx
	shll	$2, %ebx
	movslq	%ebx, %rdx
	addq	(%rax), %rdx
	addq	(%rcx), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mic_mmio_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIC_X100_MAX_DOORBELL_IDX,4,2  ## @MIC_X100_MAX_DOORBELL_IDX
	.comm	_MIC_X100_SBOX_SDBIC0_DBREQ_BIT,4,2 ## @MIC_X100_SBOX_SDBIC0_DBREQ_BIT
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ## @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_SDBIC0,8,3       ## @MIC_X100_SBOX_SDBIC0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic_send_intr                  ; -- Begin function mic_send_intr
	.p2align	2
_mic_send_intr:                         ; @mic_send_intr
	.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
Lloh0:
	adrp	x8, _MIC_X100_MAX_DOORBELL_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIC_X100_MAX_DOORBELL_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	bl	_wmb
Lloh3:
	adrp	x8, _MIC_X100_SBOX_SDBIC0_DBREQ_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIC_X100_SBOX_SDBIC0_DBREQ_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _MIC_X100_SBOX_SDBIC0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MIC_X100_SBOX_SDBIC0@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsl	w10, w20, #2
	add	x8, x8, w10, sxtw
	add	x2, x8, x9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mic_mmio_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MIC_X100_MAX_DOORBELL_IDX,4,2  ; @MIC_X100_MAX_DOORBELL_IDX
	.comm	_MIC_X100_SBOX_SDBIC0_DBREQ_BIT,4,2 ; @MIC_X100_SBOX_SDBIC0_DBREQ_BIT
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,8,3 ; @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_SDBIC0,8,3       ; @MIC_X100_SBOX_SDBIC0
.subsections_via_symbols
