	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_t_ldmstm
_do_t_ldmstm:                           ## @do_t_ldmstm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_inst@GOTPCREL(%rip), %r14
	movq	16(%r14), %rax
	movq	_BFD_RELOC_UNUSED@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	12(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	_unified_syntax@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r14), %edi
	cmpl	$65534, %edi                    ## imm = 0xFFFE
	jg	LBB0_19
## %bb.2:
	cmpl	$4, 4(%r14)
	je	LBB0_19
## %bb.3:
	movq	8(%r14), %rdx
	movl	16(%rdx), %esi
	cmpl	$255, %esi
	ja	LBB0_19
## %bb.4:
	movl	8(%rdx), %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	cmpl	$7, %ecx
	jg	LBB0_12
## %bb.5:
	movq	_T_MNEM_stmia@GOTPCREL(%rip), %r9
	movl	(%rdx), %r8d
	cmpl	(%r9), %edi
	jne	LBB0_10
## %bb.6:
	testl	%r8d, %r8d
	je	LBB0_12
## %bb.7:
	testl	%esi, %ebx
	je	LBB0_11
## %bb.8:
	decl	%ebx
	testl	%esi, %ebx
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	8(%r14), %rcx
	movl	8(%rcx), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_as_warn
	movl	(%r14), %edi
	jmp	LBB0_11
LBB0_23:
	movq	8(%r14), %rax
	movl	$1, %edi
	cmpl	$7, 8(%rax)
	jg	LBB0_25
## %bb.24:
	xorl	%edi, %edi
	cmpl	$256, 16(%rax)                  ## imm = 0x100
	setae	%dil
LBB0_25:
	movq	_BAD_HIREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_constraint
	movl	(%r14), %eax
	movq	_T_MNEM_ldmia@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setne	%cl
	movq	_T_MNEM_stmia@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movl	(%r14), %ecx
	movq	8(%r14), %rax
	movl	(%rax), %edx
	cmpl	(%r15), %ecx
	jne	LBB0_31
## %bb.26:
	testl	%edx, %edx
	jne	LBB0_28
## %bb.27:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_as_warn
	movq	8(%r14), %rax
LBB0_28:
	movl	8(%rax), %ecx
	movl	16(%rax), %eax
	movl	$1, %edx
	shll	%cl, %edx
	btl	%ecx, %eax
	jae	LBB0_37
## %bb.29:
	decl	%edx
	testl	%eax, %edx
	je	LBB0_37
## %bb.30:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	8(%r14), %rcx
	movl	8(%rcx), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_as_warn
	jmp	LBB0_37
LBB0_31:
	movb	8(%rax), %cl
	movl	$1, %esi
	shll	%cl, %esi
	andl	16(%rax), %esi
	testl	%edx, %edx
	je	LBB0_32
## %bb.34:
	testl	%esi, %esi
	je	LBB0_37
## %bb.35:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_36
LBB0_32:
	testl	%esi, %esi
	jne	LBB0_37
## %bb.33:
	leaq	L_.str.4(%rip), %rdi
LBB0_36:
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_as_warn
LBB0_37:
	movl	(%r14), %edi
	callq	_THUMB_OP16
	movq	8(%r14), %rcx
	movl	8(%rcx), %edx
	shll	$8, %edx
	orl	%eax, %edx
	orl	16(%rcx), %edx
	movl	%edx, (%r14)
	jmp	LBB0_38
LBB0_10:
	xorl	%ebx, %ebx
	btl	%ecx, %esi
	setae	%bl
	cmpl	%ebx, %r8d
	jne	LBB0_12
LBB0_11:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_THUMB_OP16
	movq	8(%r14), %rdx
	movl	8(%rdx), %ecx
	movl	16(%rdx), %edi
	shll	$8, %ecx
	orl	%eax, %ecx
	jmp	LBB0_18
LBB0_12:
	movq	_REG_SP@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	jne	LBB0_19
## %bb.13:
	cmpl	$0, (%rdx)
	je	LBB0_19
## %bb.14:
	movq	_T_MNEM_stmia@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_15
## %bb.16:
	movq	_T_MNEM_push@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_T_MNEM_pop@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %edi
	callq	_THUMB_OP16
	movq	%rax, %rdi
	movq	8(%r14), %rax
	movl	16(%rax), %ecx
LBB0_18:
	orl	%ecx, %edi
	movl	%edi, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	testl	%eax, %eax
	je	LBB0_20
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	cmpl	$65534, %edi                    ## imm = 0xFFFE
	jg	LBB0_22
## %bb.21:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_THUMB_OP32
	movl	%eax, (%r14)
LBB0_22:
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movl	8(%rax), %edi
	movl	16(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_encode_thumb2_ldmstm           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,24,3                      ## @inst
	.comm	_BFD_RELOC_UNUSED,8,3           ## @BFD_RELOC_UNUSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expression too complex"

L_.str.1:                               ## @.str.1
	.asciz	"Thumb load/store multiple does not support {reglist}^"

	.comm	_unified_syntax,8,3             ## @unified_syntax
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_T_MNEM_stmia,4,2               ## @T_MNEM_stmia
L_.str.2:                               ## @.str.2
	.asciz	"value stored for r%d is UNPREDICTABLE"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_REG_SP,4,2                     ## @REG_SP
	.comm	_T_MNEM_push,4,2                ## @T_MNEM_push
	.comm	_T_MNEM_pop,4,2                 ## @T_MNEM_pop
	.comm	_BAD_HIREG,4,2                  ## @BAD_HIREG
	.comm	_T_MNEM_ldmia,4,2               ## @T_MNEM_ldmia
L_.str.3:                               ## @.str.3
	.asciz	"Thumb-2 instruction only valid in unified syntax"

L_.str.4:                               ## @.str.4
	.asciz	"this instruction will write back the base register"

L_.str.5:                               ## @.str.5
	.asciz	"this instruction will not write back the base register"

	.no_dead_strip	_do_t_ldmstm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_t_ldmstm
_do_t_ldmstm:                           ; @do_t_ldmstm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x20, _inst@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inst@GOTPAGEOFF]
	ldr	x8, [x20, #16]
Lloh2:
	adrp	x9, _BFD_RELOC_UNUSED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BFD_RELOC_UNUSED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w19, ne
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w19, [x8, #12]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
Lloh9:
	adrp	x8, _unified_syntax@GOTPAGE
Lloh10:
	ldr	x8, [x8, _unified_syntax@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.1:
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldp	w0, w9, [x20]
	mov	w10, #65534
	cmp	w0, w10
	ccmp	w9, #4, #4, le
	b.eq	LBB0_32
; %bb.2:
	ldr	x9, [x20, #8]
	ldr	w10, [x9, #16]
	cmp	w10, #255
	b.hi	LBB0_32
; %bb.3:
	ldr	w11, [x9, #8]
	cmp	w11, #7
	b.gt	LBB0_28
; %bb.4:
Lloh15:
	adrp	x12, _T_MNEM_stmia@GOTPAGE
Lloh16:
	ldr	x12, [x12, _T_MNEM_stmia@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x12]
	ldr	w12, [x9]
	cmp	w0, w13
	b.ne	LBB0_26
; %bb.5:
	cbz	w12, LBB0_28
; %bb.6:
	mov	w8, #1
	lsl	w8, w8, w11
	tst	w8, w10
	b.eq	LBB0_27
; %bb.7:
	sub	w8, w8, #1
	tst	w8, w10
	b.eq	LBB0_27
; %bb.8:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #8]
	str	x8, [sp]
	bl	_as_warn
	ldr	w0, [x20]
	b	LBB0_27
LBB0_9:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	cmp	w9, #7
	b.le	LBB0_11
; %bb.10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	ldr	w8, [x8, #16]
	cmp	w8, #255
	cset	w0, hi
LBB0_12:
Lloh20:
	adrp	x8, _BAD_HIREG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BAD_HIREG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_constraint
	ldr	w8, [x20]
Lloh23:
	adrp	x9, _T_MNEM_ldmia@GOTPAGE
Lloh24:
	ldr	x9, [x9, _T_MNEM_ldmia@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
Lloh26:
	adrp	x21, _T_MNEM_stmia@GOTPAGE
Lloh27:
	ldr	x21, [x21, _T_MNEM_stmia@GOTPAGEOFF]
	ldr	w9, [x21]
	ccmp	w8, w9, #4, ne
	cset	w19, ne
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	w10, [x20]
	ldr	w11, [x21]
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w10, w11
	b.ne	LBB0_18
; %bb.13:
	cbnz	w9, LBB0_15
; %bb.14:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_as_warn
	ldr	x8, [x20, #8]
LBB0_15:
	ldr	w9, [x8, #16]
	ldr	w8, [x8, #8]
	mov	w10, #1
	lsl	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_25
; %bb.16:
	sub	w8, w8, #1
	tst	w8, w9
	b.eq	LBB0_25
; %bb.17:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #8]
	str	x8, [sp]
	b	LBB0_24
LBB0_18:
	ldr	w10, [x8, #16]
	ldr	w8, [x8, #8]
	mov	w11, #1
	lsl	w8, w11, w8
	and	w8, w8, w10
	cbz	w9, LBB0_21
; %bb.19:
	cbz	w8, LBB0_25
; %bb.20:
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_21:
	cbnz	w8, LBB0_25
; %bb.22:
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_23:
	bl	__
LBB0_24:
	bl	_as_warn
LBB0_25:
	ldr	w0, [x20]
	bl	_THUMB_OP16
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	orr	w9, w0, w9, lsl #8
	ldr	w8, [x8, #16]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_33
LBB0_26:
	mvn	w10, w10
	lsr	w10, w10, w11
	and	w10, w10, #0x1
	cmp	w12, w10
	b.ne	LBB0_28
LBB0_27:
	bl	_THUMB_OP16
	ldr	x9, [x20, #8]
	ldr	w8, [x9, #8]
	orr	w8, w0, w8, lsl #8
	ldr	w0, [x9, #16]
	b	LBB0_31
LBB0_28:
Lloh38:
	adrp	x10, _REG_SP@GOTPAGE
Lloh39:
	ldr	x10, [x10, _REG_SP@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	cmp	w11, w10
	b.ne	LBB0_32
; %bb.29:
	ldr	w9, [x9]
	cbz	w9, LBB0_32
; %bb.30:
Lloh41:
	adrp	x8, _T_MNEM_stmia@GOTPAGE
Lloh42:
	ldr	x8, [x8, _T_MNEM_stmia@GOTPAGEOFF]
Lloh43:
	adrp	x9, _T_MNEM_push@GOTPAGE
Lloh44:
	ldr	x9, [x9, _T_MNEM_push@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x10, _T_MNEM_pop@GOTPAGE
Lloh47:
	ldr	x10, [x10, _T_MNEM_pop@GOTPAGEOFF]
	cmp	w0, w8
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_THUMB_OP16
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #16]
LBB0_31:
	orr	w0, w8, w0
	str	w0, [x20]
Lloh48:
	adrp	x8, _TRUE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
LBB0_32:
	cbz	w8, LBB0_34
LBB0_33:
	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
	add	sp, sp, #64
	ret
LBB0_34:
	mov	w8, #65534
	cmp	w0, w8
	b.gt	LBB0_36
; %bb.35:
	bl	_THUMB_OP32
	str	w0, [x20]
LBB0_36:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #8]
	ldr	w1, [x8, #16]
	ldr	w2, [x8]
	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
	add	sp, sp, #64
	b	_encode_thumb2_ldmstm
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,24,3                      ; @inst
	.comm	_BFD_RELOC_UNUSED,8,3           ; @BFD_RELOC_UNUSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expression too complex"

l_.str.1:                               ; @.str.1
	.asciz	"Thumb load/store multiple does not support {reglist}^"

	.comm	_unified_syntax,8,3             ; @unified_syntax
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_T_MNEM_stmia,4,2               ; @T_MNEM_stmia
l_.str.2:                               ; @.str.2
	.asciz	"value stored for r%d is UNPREDICTABLE"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_REG_SP,4,2                     ; @REG_SP
	.comm	_T_MNEM_push,4,2                ; @T_MNEM_push
	.comm	_T_MNEM_pop,4,2                 ; @T_MNEM_pop
	.comm	_BAD_HIREG,4,2                  ; @BAD_HIREG
	.comm	_T_MNEM_ldmia,4,2               ; @T_MNEM_ldmia
l_.str.3:                               ; @.str.3
	.asciz	"Thumb-2 instruction only valid in unified syntax"

l_.str.4:                               ; @.str.4
	.asciz	"this instruction will write back the base register"

l_.str.5:                               ; @.str.5
	.asciz	"this instruction will not write back the base register"

	.no_dead_strip	_do_t_ldmstm
.subsections_via_symbols
