	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrp_lmem_store
_wrp_lmem_store:                        ## @wrp_lmem_store
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %eax
	cmpl	$0, 40(%rbp)
	setne	%r12b
	cmpl	$0, 16(%rbp)
	setne	%r13b
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	sete	%bl
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leal	(%r15,%rdx), %eax
	movl	$1, %edi
	cmpl	$4, %eax
	ja	LBB0_2
## %bb.1:
	leal	3(%r14), %eax
	testl	%r14d, %r14d
	cmovnsl	%r14d, %eax
	andl	$-4, %eax
	movl	%r14d, %ecx
	subl	%eax, %ecx
	addl	%r15d, %ecx
	xorl	%edi, %edi
	cmpl	$5, %ecx
	setae	%dil
LBB0_2:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	andb	%r12b, %r13b
	andb	%r13b, %bl
	movl	%ebx, %r13d
	movl	32(%rbp), %ecx
	leal	3(%r14), %ebx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %ebx
	movl	%ebx, %r12d
	sarl	$2, %r12d
	cmpl	$4, %r15d
	jne	LBB0_9
## %bb.5:
	testb	%r13b, %r13b
	je	LBB0_7
## %bb.6:
	movl	$3, %edi
	callq	_reg_lm_inc
	jmp	LBB0_8
LBB0_9:
	testl	%ecx, %ecx
	setne	%al
	movq	_RE_REG_LM_IDX_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	seta	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.10:
	andl	$-4, %ebx
	subl	%ebx, %r14d
	movl	$-1, %ebx
	movl	%r15d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	xorl	%edi, %edi
	cmpl	$16, %ebx
	setae	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.11:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, %edx
	subl	%r14d, %edx
	jae	LBB0_12
## %bb.13:
	movq	_SHF_SC_L_SHF@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	leal	(%rax,%rax,2), %edi
	movl	%r12d, %esi
	callq	_reg_lm
LBB0_8:
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_reg_b
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_wrp_mov
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_12:
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rax
LBB0_14:
	movq	_RE_REG_LM_IDX_MAX@GOTPCREL(%rip), %rdi
	movl	%edx, %ecx
	negl	%ecx
	cmovsl	%edx, %ecx
	shll	$3, %ecx
	movl	$32, %r15d
	subl	%ecx, %r15d
	cmpl	%r14d, %esi
	cmovael	%ecx, %r15d
	jne	LBB0_16
## %bb.15:
	movq	_SHF_SC_NONE@GOTPCREL(%rip), %rax
	movl	%ecx, %r15d
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmpl	(%rdi), %r12d
	jbe	LBB0_17
## %bb.18:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_imm_a
	movl	%eax, %r14d
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	orl	24(%rbp), %eax
	je	LBB0_20
## %bb.19:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_reg_lm
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_wrp_mov
LBB0_20:
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_21
LBB0_17:
	movl	%r12d, %esi
	xorl	%eax, %eax
	cmpl	$0, 32(%rbp)
	setne	%al
	leal	(%rax,%rax,2), %edi
	callq	_reg_lm
	movl	%eax, %r14d
LBB0_21:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_reg_b
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_emit_ld_field
	xorl	%ebx, %ebx
	movl	16(%rbp), %eax
	orl	%eax, -80(%rbp)                 ## 4-byte Folded Spill
	je	LBB0_26
## %bb.22:
	movq	_RE_REG_LM_IDX_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jbe	LBB0_24
## %bb.23:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_reg_lm
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_wrp_mov
LBB0_24:
	testb	%r13b, %r13b
	je	LBB0_26
## %bb.25:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_reg_none
	movl	%eax, %r14d
	movl	$3, %edi
	callq	_reg_lm_inc
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_wrp_mov
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_RE_REG_LM_IDX_MAX,4,2          ## @RE_REG_LM_IDX_MAX
	.comm	_SHF_SC_NONE,4,2                ## @SHF_SC_NONE
	.comm	_SHF_SC_L_SHF,4,2               ## @SHF_SC_L_SHF
	.comm	_SHF_SC_R_SHF,4,2               ## @SHF_SC_R_SHF
	.no_dead_strip	_wrp_lmem_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrp_lmem_store
_wrp_lmem_store:                        ; @wrp_lmem_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x7
	mov	x22, x6
	mov	x24, x5
	mov	x25, x4
	mov	x27, x3
	mov	x26, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x29, #20]
	cmp	w6, #0
	ccmp	w8, #0, #4, ne
	ccmp	w7, #0, #0, ne
	cset	w28, eq
	add	w8, w4, w2
	mov	w9, #1
	negs	w10, w3
	and	w10, w10, #0x3
	and	w11, w3, #0x3
	csneg	w10, w11, w10, mi
	add	w10, w10, w4
	cmp	w10, #4
	cset	w10, hi
	cmp	w8, #4
	csel	w0, w9, w10, hi
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_2:
	ldr	w23, [x29, #16]
	add	w8, w27, #3
	cmp	w27, #0
	csel	w8, w8, w27, lt
	asr	w1, w8, #2
	cmp	w25, #4
	b.ne	LBB0_5
; %bb.3:
	cbz	w28, LBB0_10
; %bb.4:
	mov	w0, #3
	bl	_reg_lm_inc
	b	LBB0_11
LBB0_5:
	cmp	w23, #0
Lloh3:
	adrp	x8, _RE_REG_LM_IDX_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RE_REG_LM_IDX_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w1, w8, #0, ne
	cset	w0, hi
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w27, w27, w8, lsl #2
	mov	w8, #-1
	lsl	w8, w8, w25
	mvn	w8, w8
	lsl	w25, w8, w27
	cmp	w25, #15
	cset	w0, hi
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_1
; %bb.7:
	subs	w8, w26, w27
Lloh6:
	adrp	x9, _SHF_SC_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SHF_SC_NONE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _SHF_SC_L_SHF@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SHF_SC_L_SHF@GOTPAGEOFF]
Lloh10:
	adrp	x11, _SHF_SC_R_SHF@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SHF_SC_R_SHF@GOTPAGEOFF]
	csel	x10, x10, x11, lo
	csel	x9, x9, x10, eq
	cneg	w8, w8, mi
	lsl	w8, w8, #3
	mov	w10, #32
	sub	w10, w10, w8
	cmp	w26, w27
	csel	w10, w10, w8, lo
	csel	w8, w8, w10, eq
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w26, [x9]
Lloh12:
	adrp	x8, _RE_REG_LM_IDX_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RE_REG_LM_IDX_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w1, w8
	b.ls	LBB0_15
; %bb.8:
	mov	x23, x1
	mov	x0, x19
	bl	_imm_a
	mov	x27, x0
	orr	w8, w21, w24
	cbz	w8, LBB0_16
; %bb.9:
	mov	w0, #0
	mov	x1, x23
	bl	_reg_lm
	mov	x2, x0
	mov	x0, x19
	mov	x1, x27
	bl	_wrp_mov
	b	LBB0_16
LBB0_10:
	mov	w8, #3
	cmp	w23, #0
	csel	w0, wzr, w8, eq
	bl	_reg_lm
LBB0_11:
	mov	x21, x0
	mov	x0, x20
	bl	_reg_b
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
LBB0_12:
	bl	_wrp_mov
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	mov	w8, #3
	cmp	w23, #0
	csel	w0, w8, wzr, ne
	mov	x23, x1
	bl	_reg_lm
	mov	x27, x0
LBB0_16:
Lloh15:
	adrp	x24, _RE_REG_LM_IDX_MAX@GOTPAGE
Lloh16:
	ldr	x24, [x24, _RE_REG_LM_IDX_MAX@GOTPAGEOFF]
	mov	x0, x20
	bl	_reg_b
	mov	x3, x0
	mov	x0, x19
	mov	x1, x27
	mov	x2, x25
	mov	x4, x26
	ldr	w5, [sp, #8]                    ; 4-byte Folded Reload
	bl	_emit_ld_field
	orr	w8, w21, w22
	cbz	w8, LBB0_13
; %bb.17:
	ldr	w8, [x24]
	cmp	w23, w8
	b.ls	LBB0_19
; %bb.18:
	mov	w0, #0
	mov	x1, x23
	bl	_reg_lm
	mov	x1, x0
	mov	x0, x19
	mov	x2, x27
	bl	_wrp_mov
LBB0_19:
	cbz	w28, LBB0_13
; %bb.20:
	bl	_reg_none
	mov	x20, x0
	mov	w0, #3
	bl	_reg_lm_inc
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_RE_REG_LM_IDX_MAX,4,2          ; @RE_REG_LM_IDX_MAX
	.comm	_SHF_SC_NONE,4,2                ; @SHF_SC_NONE
	.comm	_SHF_SC_L_SHF,4,2               ; @SHF_SC_L_SHF
	.comm	_SHF_SC_R_SHF,4,2               ; @SHF_SC_R_SHF
	.no_dead_strip	_wrp_lmem_store
.subsections_via_symbols
