	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_op_stack
_mem_op_stack:                          ## @mem_op_stack
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rdi, %r13
	addl	(%rdi), %r14d
	movl	4(%rsi), %ebx
	addl	%ebx, %r14d
	cmpq	$0, 8(%rsi)
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	_FLAG_INSN_PTR_CALLER_STACK_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movl	%r9d, %r15d
	callq	_stack_imm
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ur_load_imm_any
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_imm_b
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_reg_a
	movq	_ALU_OP_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r12d, %r8d
	movq	%r14, %r12
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	callq	_emit_alu
	movl	$1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_8:
	movq	%r13, %rdi
	callq	_imm_b
	movq	_NFP_CSR_ACT_LM_ADDR3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_emit_csr_wr
	cmpl	$7, %r12d
	ja	LBB0_11
## %bb.9:
	cmpl	$0, 16(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_FLAG_INSN_DO_ZEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	andl	(%rbx), %eax
	sete	%sil
	orl	$2, %esi
	movq	%r13, %rdi
	callq	_wrp_nops
	movq	%rbx, %rsi
	movl	$1, %ebx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_15:
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_wrp_zext
	movl	%ebx, %eax
LBB0_16:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_11:
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_wrp_nops
	movl	$1, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_17:
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.19:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	movl	$255, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movl	%r15d, -72(%rbp)                ## 4-byte Spill
	movl	$4, %esi
	subl	%ebx, %esi
	movl	%r12d, %edi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	movq	%r14, %r15
	addl	%eax, %r14d
	leal	1(%r15), %edi
	movl	$4, %esi
	callq	_round_up
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_min
	movq	%r12, %r13
	movl	%eax, %r12d
	subl	%r15d, %r12d
	xorl	%r10d, %r10d
	cmpl	%r12d, %r13d
	sete	%r10b
	movl	%r15d, %r14d
	andl	$3, %r14d
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	cmovnel	%r15d, %r14d
	xorl	%eax, %eax
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	cmpl	-80(%rbp), %esi                 ## 4-byte Folded Reload
	setne	%al
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%esi, %r15d
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rax
	callq	*24(%rbp)
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	leal	(%r12,%rbx), %eax
	cmpl	$4, %eax
	leal	-4(%r12,%rbx), %ebx
	cmovbl	%eax, %ebx
	movl	%r15d, %ecx
	sbbl	$-1, %r15d
	addl	%r12d, %r14d
	xorl	%eax, %eax
                                        ## kill: def $r14d killed $r14d def $r14
	subl	%r12d, %r13d
	movq	%r13, %r12
	jne	LBB0_20
	jmp	LBB0_22
LBB0_18:
	xorl	%eax, %eax
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leal	(%r14,%r12), %ebx
	cmpl	$65, %ebx
	jae	LBB0_4
## %bb.12:
	movl	%r8d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$7, %r12d
	ja	LBB0_13
## %bb.14:
	movl	$0, %ebx
	movl	$0, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rbp)
	jne	LBB0_15
	jmp	LBB0_17
LBB0_4:
	movl	%r14d, %edi
	movl	$32, %esi
	callq	_round_down
	movq	%rax, %r15
	decl	%ebx
	movl	%ebx, %edi
	movl	$32, %esi
	callq	_round_down
	movl	%r14d, %edi
	cmpq	%rax, %r15
	jne	LBB0_6
## %bb.5:
	movl	$32, %esi
	callq	_round_down
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_stack_imm
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ur_load_imm_any
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_imm_b
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_stack_reg
	movq	_ALU_OP_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %r8d
	callq	_emit_alu
	andl	$31, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
LBB0_6:
	movl	$4, %esi
	callq	_round_down
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_stack_imm
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ur_load_imm_any
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_imm_b
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_stack_reg
	movq	_ALU_OP_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %r8d
	jmp	LBB0_7
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_INSN_PTR_CALLER_STACK_FRAME,4,2 ## @FLAG_INSN_PTR_CALLER_STACK_FRAME
	.comm	_ALU_OP_ADD,4,2                 ## @ALU_OP_ADD
	.comm	_NFP_CSR_ACT_LM_ADDR3,4,2       ## @NFP_CSR_ACT_LM_ADDR3
	.comm	_FLAG_INSN_DO_ZEXT,4,2          ## @FLAG_INSN_DO_ZEXT
	.no_dead_strip	_mem_op_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mem_op_stack
_mem_op_stack:                          ; @mem_op_stack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x7, [sp, #24]                   ; 8-byte Folded Spill
	mov	x25, x6
	mov	x26, x5
	mov	x23, x4
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
	ldr	w8, [x0]
	ldr	w27, [x1, #4]
	add	w8, w8, w3
	add	w22, w8, w27
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _FLAG_INSN_PTR_CALLER_STACK_FRAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_INSN_PTR_CALLER_STACK_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_2:
	mov	x0, x21
	bl	_stack_imm
	mov	x2, x0
	mov	x0, x21
	mov	x1, x27
	bl	_ur_load_imm_any
	mov	x27, x0
	mov	x0, x21
	bl	_imm_b
	mov	x28, x0
	mov	x0, x26
	bl	_reg_a
	mov	x2, x0
Lloh3:
	adrp	x8, _ALU_OP_ADD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALU_OP_ADD@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x28
	mov	x4, x27
LBB0_3:
	bl	_emit_alu
	str	wzr, [sp, #16]                  ; 4-byte Folded Spill
	mov	w28, #1
LBB0_4:
	mov	x0, x21
	bl	_imm_b
	mov	x1, x0
Lloh6:
	adrp	x8, _NFP_CSR_ACT_LM_ADDR3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFP_CSR_ACT_LM_ADDR3@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_emit_csr_wr
	cmp	w20, #7
	b.hi	LBB0_8
; %bb.5:
	cbz	w25, LBB0_8
; %bb.6:
	ldr	w8, [x24]
Lloh9:
	adrp	x9, _FLAG_INSN_DO_ZEXT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLAG_INSN_DO_ZEXT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #2
	cinc	w1, w8, eq
	mov	x0, x21
	bl	_wrp_nops
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_7:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_wrp_zext
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	mov	w1, #3
	bl	_wrp_nops
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_9:
	cbz	w20, LBB0_13
; %bb.10:
	mov	w24, #0
	mov	w26, #1
	mov	w25, #255
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x19, x21
	mov	x21, x25
	mov	x25, x23
	mov	w8, #4
	sub	w1, w8, w24
	mov	x0, x20
	bl	_min
	add	w23, w0, w22
	add	w0, w22, #1
	mov	w1, #4
	bl	_round_up
	mov	x1, x0
	mov	x0, x23
	bl	_min
	sub	w27, w0, w22
	cmp	w20, w27
	cset	w7, eq
	and	w8, w22, #0x3
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	w22, w22, w8, ne
	cmp	w25, w21
	mov	x21, x19
	cset	w6, ne
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	stp	w8, w28, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x22
	mov	x4, x27
	mov	x5, x26
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	blr	x8
	cbnz	w0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w26, #0
	add	w8, w27, w24
	sub	w9, w8, #4
	cmp	w8, #3
	csel	w24, w9, w8, hi
	cinc	w23, w25, hi
	add	w22, w27, w22
	subs	w20, w20, w27
	b.ne	LBB0_11
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	add	w19, w22, w20
	cmp	w19, #65
	b.hs	LBB0_18
; %bb.16:
	mov	w28, #0
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	cmp	w20, #7
	b.hi	LBB0_21
; %bb.17:
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
	cbnz	w25, LBB0_7
	b	LBB0_9
LBB0_18:
	mov	x0, x22
	mov	w1, #32
	bl	_round_down
	mov	x26, x0
	sub	w0, w19, #1
	mov	w1, #32
	bl	_round_down
	cmp	x26, x0
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x22
	mov	w1, #32
	bl	_round_down
	mov	x26, x0
	mov	x0, x21
	bl	_stack_imm
	mov	x2, x0
	mov	x0, x21
	mov	x1, x26
	bl	_ur_load_imm_any
	mov	x26, x0
	mov	x0, x21
	bl	_imm_b
	mov	x27, x0
	mov	x0, x21
	bl	_stack_reg
	mov	x2, x0
Lloh12:
	adrp	x8, _ALU_OP_ADD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALU_OP_ADD@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x27
	mov	x4, x26
	bl	_emit_alu
	mov	w28, #0
	and	w22, w22, #0x1f
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_20:
	mov	x0, x22
	mov	w1, #4
	bl	_round_down
	mov	x26, x0
	mov	x0, x21
	bl	_stack_imm
	mov	x2, x0
	mov	x0, x21
	mov	x1, x26
	bl	_ur_load_imm_any
	mov	x26, x0
	mov	x0, x21
	bl	_imm_b
	mov	x27, x0
	mov	x0, x21
	bl	_stack_reg
	mov	x2, x0
Lloh15:
	adrp	x8, _ALU_OP_ADD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ALU_OP_ADD@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x27
	mov	x4, x26
	b	LBB0_3
LBB0_21:
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_INSN_PTR_CALLER_STACK_FRAME,4,2 ; @FLAG_INSN_PTR_CALLER_STACK_FRAME
	.comm	_ALU_OP_ADD,4,2                 ; @ALU_OP_ADD
	.comm	_NFP_CSR_ACT_LM_ADDR3,4,2       ; @NFP_CSR_ACT_LM_ADDR3
	.comm	_FLAG_INSN_DO_ZEXT,4,2          ; @FLAG_INSN_DO_ZEXT
	.no_dead_strip	_mem_op_stack
.subsections_via_symbols
