	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_expand_movmemqi          ## -- Begin function thumb_expand_movmemqi
	.p2align	4, 0x90
_thumb_expand_movmemqi:                 ## @thumb_expand_movmemqi
	.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, %r15
	movq	_SImode@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	(%rdi), %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_copy_to_mode_reg
	movl	%eax, %r14d
	movl	(%r12), %ebx
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_copy_to_mode_reg
	movl	%eax, %r13d
	movl	8(%r15), %edi
	callq	_INTVAL
	movl	%eax, %ebx
	cmpl	$12, %eax
	jl	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_gen_movmem12b
	movl	%eax, %edi
	callq	_emit_insn
	leal	-12(%rbx), %r12d
	cmpl	$23, %ebx
	movl	%r12d, %ebx
	ja	LBB0_2
## %bb.3:
	cmpl	$8, %r12d
	jl	LBB0_5
LBB0_4:
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_gen_movmem8b
	xorl	%r15d, %r15d
	movl	$-8, %ebx
	jmp	LBB0_7
LBB0_1:
	movl	%ebx, %r12d
	cmpl	$8, %r12d
	jge	LBB0_4
LBB0_5:
	xorl	%r15d, %r15d
	cmpl	$4, %r12d
	jge	LBB0_6
## %bb.8:
	cmpl	$2, %r12d
	jge	LBB0_9
LBB0_10:
	testl	%r12d, %r12d
	je	LBB0_11
LBB0_12:
	movq	_QImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gen_reg_rtx
	movl	%eax, %r12d
	movq	_QImode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_plus_constant
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_gen_movqi
	movl	%eax, %edi
	callq	_emit_insn
	movq	_QImode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_plus_constant
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_gen_movqi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_insn                      ## TAILCALL
LBB0_6:
	movq	_SImode@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_gen_reg_rtx
	movl	%eax, %ebx
	movl	(%r15), %edi
	movl	%r13d, %esi
	callq	_gen_rtx_MEM
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_movsi
	movl	%eax, %edi
	callq	_emit_insn
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_gen_movsi
	movl	$4, %r15d
	movl	$-4, %ebx
LBB0_7:
	movl	%eax, %edi
	callq	_emit_insn
	addl	%ebx, %r12d
	cmpl	$2, %r12d
	jl	LBB0_10
LBB0_9:
	movq	_HImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gen_reg_rtx
	movl	%r15d, %ebx
	movl	%eax, %r15d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_HImode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_plus_constant
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_gen_movhi
	movl	%eax, %edi
	callq	_emit_insn
	movq	_HImode@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_plus_constant
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_MEM
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %r15d
	callq	_gen_movhi
	movl	%eax, %edi
	callq	_emit_insn
	addl	$-2, %r12d
	orl	$2, %r15d
	testl	%r12d, %r12d
	jne	LBB0_12
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SImode,4,2                     ## @SImode
	.comm	_HImode,4,2                     ## @HImode
	.comm	_QImode,4,2                     ## @QImode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_expand_movmemqi          ; -- Begin function thumb_expand_movmemqi
	.p2align	2
_thumb_expand_movmemqi:                 ; @thumb_expand_movmemqi
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
Lloh0:
	adrp	x23, _SImode@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SImode@GOTPAGEOFF]
	ldr	w19, [x23]
	ldr	w0, [x0]
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x19
	bl	_copy_to_mode_reg
	mov	x19, x0
	ldr	w20, [x23]
	ldr	w0, [x21, #4]
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x20
	bl	_copy_to_mode_reg
	mov	x20, x0
	ldr	w0, [x21, #8]
	bl	_INTVAL
	mov	x21, x0
	cmp	w0, #12
	b.lt	LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x19
	mov	x3, x20
	bl	_gen_movmem12b
	bl	_emit_insn
	sub	w22, w21, #12
	cmp	w21, #23
	mov	x21, x22
	b.hi	LBB0_1
; %bb.2:
	cmp	w22, #8
	b.lt	LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x19
	mov	x3, x20
	bl	_gen_movmem8b
	mov	w21, #0
	mov	w23, #-8
	b	LBB0_7
LBB0_4:
	mov	x22, x21
	cmp	w22, #8
	b.ge	LBB0_3
LBB0_5:
	cmp	w22, #4
	b.lt	LBB0_12
; %bb.6:
	ldr	w0, [x23]
	bl	_gen_reg_rtx
	mov	x21, x0
	ldr	w0, [x23]
	mov	x1, x20
	bl	_gen_rtx_MEM
	mov	x1, x0
	mov	x0, x21
	bl	_gen_movsi
	bl	_emit_insn
	ldr	w0, [x23]
	mov	x1, x19
	bl	_gen_rtx_MEM
	mov	x1, x21
	bl	_gen_movsi
	mov	w21, #4
	mov	w23, #-4
LBB0_7:
	bl	_emit_insn
	add	w22, w22, w23
	subs	w24, w22, #2
	b.lt	LBB0_9
LBB0_8:
Lloh2:
	adrp	x25, _HImode@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HImode@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_gen_reg_rtx
	mov	x22, x0
	ldr	w23, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_MEM
	mov	x1, x0
	mov	x0, x22
	bl	_gen_movhi
	bl	_emit_insn
	ldr	w23, [x25]
	mov	x0, x19
	mov	x1, x21
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_MEM
	mov	x1, x22
	bl	_gen_movhi
	bl	_emit_insn
	orr	w21, w21, #0x2
	mov	x22, x24
LBB0_9:
	cbz	w22, LBB0_11
; %bb.10:
Lloh4:
	adrp	x24, _QImode@GOTPAGE
Lloh5:
	ldr	x24, [x24, _QImode@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_gen_reg_rtx
	mov	x22, x0
	ldr	w23, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_MEM
	mov	x1, x0
	mov	x0, x22
	bl	_gen_movqi
	bl	_emit_insn
	ldr	w20, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	_plus_constant
	mov	x1, x0
	mov	x0, x20
	bl	_gen_rtx_MEM
	mov	x1, x22
	bl	_gen_movqi
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_emit_insn
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w21, #0
	subs	w24, w22, #2
	b.ge	LBB0_8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SImode,4,2                     ; @SImode
	.comm	_HImode,4,2                     ; @HImode
	.comm	_QImode,4,2                     ; @QImode
.subsections_via_symbols
