	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_x100_disable_interrupts
_mic_x100_disable_interrupts:           ## @mic_x100_disable_interrupts
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	4(%rdi), %r15
	movq	_MIC_X100_SBOX_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_MIC_X100_SBOX_SICE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r13d, %esi
	movq	_MIC_X100_SBOX_SIAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MIC_X100_SBOX_SICC0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%r13d, %ebx
	movq	%r15, %rdi
	callq	_mic_mmio_read
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_mic_mmio_write
	cmpl	$2, (%r12)
	jl	LBB0_1
## %bb.2:
	addl	%r13d, %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mic_mmio_read
	movl	%eax, %r12d
	movl	$15, %edi
	callq	_MIC_X100_SBOX_DBR_BITS
	movl	%eax, %ebx
	movl	$255, %edi
	callq	_MIC_X100_SBOX_DMA_BITS
	orl	%eax, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mic_mmio_write                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,4,2 ## @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_SICE0,4,2        ## @MIC_X100_SBOX_SICE0
	.comm	_MIC_X100_SBOX_SIAC0,4,2        ## @MIC_X100_SBOX_SIAC0
	.comm	_MIC_X100_SBOX_SICC0,4,2        ## @MIC_X100_SBOX_SICC0
	.no_dead_strip	_mic_x100_disable_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_x100_disable_interrupts
_mic_x100_disable_interrupts:           ; @mic_x100_disable_interrupts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIC_X100_SBOX_BASE_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _MIC_X100_SBOX_SICE0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIC_X100_SBOX_SICE0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MIC_X100_SBOX_SIAC0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIC_X100_SBOX_SIAC0@GOTPAGEOFF]
	add	w1, w8, w22
Lloh8:
	ldr	w23, [x9]
Lloh9:
	adrp	x8, _MIC_X100_SBOX_SICC0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MIC_X100_SBOX_SICC0@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w21, w8, w22
	mov	x0, x19
	bl	_mic_mmio_read
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_mic_mmio_write
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	add	w20, w23, w22
	mov	x0, x19
	mov	x1, x20
	bl	_mic_mmio_read
	mov	x21, x0
	mov	w0, #15
	bl	_MIC_X100_SBOX_DBR_BITS
	mov	x22, x0
	mov	w0, #255
	bl	_MIC_X100_SBOX_DMA_BITS
	orr	w8, w0, w22
	bic	w1, w21, w8
	mov	x0, x19
	mov	x2, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mic_mmio_write
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIC_X100_SBOX_BASE_ADDRESS,4,2 ; @MIC_X100_SBOX_BASE_ADDRESS
	.comm	_MIC_X100_SBOX_SICE0,4,2        ; @MIC_X100_SBOX_SICE0
	.comm	_MIC_X100_SBOX_SIAC0,4,2        ; @MIC_X100_SBOX_SIAC0
	.comm	_MIC_X100_SBOX_SICC0,4,2        ; @MIC_X100_SBOX_SICC0
	.no_dead_strip	_mic_x100_disable_interrupts
.subsections_via_symbols
