	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_risc_stopper           ## -- Begin function cx23885_risc_stopper
	.p2align	4, 0x90
_cx23885_risc_stopper:                  ## @cx23885_risc_stopper
	.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
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movl	$64, %edx
	callq	_btcx_riscmem_alloc
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%r14d, %ebx
	movq	8(%r13), %r14
	movq	_RISC_WRITECR@GOTPCREL(%rip), %rax
	movq	_RISC_IRQ2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, 12(%r14)
	movq	_RISC_JUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, 16(%r14)
	movl	(%r13), %edi
	callq	_cpu_to_le32
	movl	%eax, 20(%r14)
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movl	%eax, 24(%r14)
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RISC_WRITECR,4,2               ## @RISC_WRITECR
	.comm	_RISC_IRQ2,4,2                  ## @RISC_IRQ2
	.comm	_RISC_JUMP,4,2                  ## @RISC_JUMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_risc_stopper           ; -- Begin function cx23885_risc_stopper
	.p2align	2
_cx23885_risc_stopper:                  ; @cx23885_risc_stopper
	.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	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	w2, #64
	bl	_btcx_riscmem_alloc
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RISC_WRITECR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RISC_WRITECR@GOTPAGEOFF]
	ldr	x23, [x19, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RISC_IRQ2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RISC_IRQ2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [x23]
	mov	x0, x22
	bl	_cpu_to_le32
	str	w0, [x23, #4]
	mov	x0, x21
	bl	_cpu_to_le32
	str	w0, [x23, #8]
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [x23, #12]
Lloh6:
	adrp	x8, _RISC_JUMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RISC_JUMP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [x23, #16]
	ldr	w0, [x19]
	bl	_cpu_to_le32
	str	w0, [x23, #20]
	mov	w0, #0
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	str	w8, [x23, #24]
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RISC_WRITECR,4,2               ; @RISC_WRITECR
	.comm	_RISC_IRQ2,4,2                  ; @RISC_IRQ2
	.comm	_RISC_JUMP,4,2                  ; @RISC_JUMP
.subsections_via_symbols
