	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_thumb32_addr_mode
_encode_thumb32_addr_mode:              ## @encode_thumb32_addr_mode
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_inst@GOTPCREL(%rip), %r15
	movq	32(%r15), %rax
	movslq	%edi, %r14
	shlq	$6, %r14
	movl	(%rax,%r14), %edx
	movq	_REG_PC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	xorl	%r12d, %r12d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%r13d, %edx
	sete	%r12b
	xorl	%ebx, %ebx
	cmpl	$0, 56(%rax,%r14)
	sete	%bl
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	32(%r15), %rax
	movl	(%rax,%r14), %ecx
	shll	$16, %ecx
	orl	%ecx, (%r15)
	cmpq	$0, 48(%rax,%r14)
	je	LBB0_8
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_constraint
	xorl	%ebx, %ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	setne	%bl
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	_inst@GOTPCREL(%rip), %r15
	movq	32(%r15), %rax
	movl	4(%rax,%r14), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	32(%r15), %rax
	movl	8(%rax,%r14), %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	32(%r15), %rax
	movl	12(%rax,%r14), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	32(%r15), %rax
	cmpq	$0, 40(%rax,%r14)
	je	LBB0_2
## %bb.3:
	movq	16(%rax,%r14), %rax
	movq	_SHIFT_LSL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	jmp	LBB0_4
LBB0_8:
	movl	%r13d, %ecx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	cmpq	$0, 32(%rax,%r14)
	je	LBB0_19
## %bb.9:
	xorl	%r12d, %r12d
	movl	$0, %ebx
	cmpl	%ecx, %r13d
	jne	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	cmpl	$0, 12(%rax,%r14)
	setne	%bl
LBB0_11:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	_inst@GOTPCREL(%rip), %r15
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_13
## %bb.12:
	movq	32(%r15), %rax
	xorl	%r12d, %r12d
	cmpl	$0, 12(%rax,%r14)
	setne	%r12b
LBB0_13:
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_constraint
	movl	(%r15), %eax
	movl	%eax, %ecx
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.14:
	orl	$16777216, %ecx                 ## imm = 0x1000000
	movl	%ecx, (%r15)
	movq	32(%r15), %rdx
	movl	$18874368, %ecx                 ## imm = 0x1200000
	cmpl	$0, 12(%rdx,%r14)
	je	LBB0_18
LBB0_17:
	orl	%ecx, %eax
	movl	%eax, (%r15)
LBB0_18:
	movq	_BFD_RELOC_ARM_T32_OFFSET_IMM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	32(%r15), %rax
	movl	24(%rax,%r14), %ecx
	orl	%ecx, (%r15)
	cmpq	$0, 40(%rax,%r14)
	je	LBB0_6
## %bb.5:
	movq	16(%r15), %rax
	movq	_O_constant@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	xorl	%ebx, %ebx
	cmpl	$4, 24(%r15)
	setae	%bl
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movl	24(%r15), %eax
	shll	$4, %eax
	orl	%eax, (%r15)
LBB0_6:
	movq	_BFD_RELOC_UNUSED@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	cmpl	$0, 8(%rax,%r14)
	je	LBB0_21
## %bb.20:
	movl	12(%rax,%r14), %edi
	callq	_assert
	leaq	L_.str.11(%rip), %rdi
	callq	__
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_constraint
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_constraint
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movl	$2304, %eax                     ## imm = 0x900
	movl	$2097152, %ecx                  ## imm = 0x200000
	cmovel	%eax, %ecx
	movq	_inst@GOTPCREL(%rip), %rdx
	orl	%ecx, (%rdx)
	movq	_BFD_RELOC_ARM_T32_OFFSET_IMM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdx)
	jmp	LBB0_22
LBB0_15:
	orl	$3072, %ecx                     ## imm = 0xC00
	movl	%ecx, (%r15)
	movq	32(%r15), %rdx
	movl	$3328, %ecx                     ## imm = 0xD00
	cmpl	$0, 12(%rdx,%r14)
	jne	LBB0_17
	jmp	LBB0_18
LBB0_21:
	leaq	L_.str.13(%rip), %rdi
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,40,3                      ## @inst
	.comm	_REG_PC,4,2                     ## @REG_PC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Instruction does not support =N addresses"

L_.str.1:                               ## @.str.1
	.asciz	"cannot use register index with PC-relative addressing"

L_.str.2:                               ## @.str.2
	.asciz	"cannot use register index with this instruction"

L_.str.3:                               ## @.str.3
	.asciz	"Thumb does not support negative register indexing"

L_.str.4:                               ## @.str.4
	.asciz	"Thumb does not support register post-indexing"

L_.str.5:                               ## @.str.5
	.asciz	"Thumb does not support register indexing with writeback"

	.comm	_SHIFT_LSL,8,3                  ## @SHIFT_LSL
L_.str.6:                               ## @.str.6
	.asciz	"Thumb supports only LSL in shifted register indexing"

	.comm	_O_constant,8,3                 ## @O_constant
L_.str.7:                               ## @.str.7
	.asciz	"expression too complex"

L_.str.8:                               ## @.str.8
	.asciz	"shift out of range"

	.comm	_BFD_RELOC_UNUSED,8,3           ## @BFD_RELOC_UNUSED
L_.str.9:                               ## @.str.9
	.asciz	"cannot use writeback with PC-relative addressing"

L_.str.10:                              ## @.str.10
	.asciz	"cannot use writeback with this instruction"

	.comm	_BFD_RELOC_ARM_T32_OFFSET_IMM,8,3 ## @BFD_RELOC_ARM_T32_OFFSET_IMM
L_.str.11:                              ## @.str.11
	.asciz	"cannot use post-indexing with PC-relative addressing"

L_.str.12:                              ## @.str.12
	.asciz	"cannot use post-indexing with this instruction"

L_.str.13:                              ## @.str.13
	.asciz	"instruction does not accept unindexed addressing"

	.no_dead_strip	_encode_thumb32_addr_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_thumb32_addr_mode
_encode_thumb32_addr_mode:              ; @encode_thumb32_addr_mode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x23, _inst@GOTPAGE
Lloh1:
	ldr	x23, [x23, _inst@GOTPAGEOFF]
	ldr	x8, [x23, #32]
	sxtw	x24, w0
	sbfiz	x27, x0, #6, #32
	add	x8, x8, x27
	ldr	w25, [x8]
Lloh2:
	adrp	x9, _REG_PC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_PC@GOTPAGEOFF]
Lloh4:
	ldr	w26, [x9]
	cmp	w25, w26
	cset	w21, eq
	ldr	w8, [x8, #56]
	cmp	w8, #0
	cset	w22, eq
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x22
	bl	_constraint
	ldr	x8, [x23, #32]
	add	x9, x8, x27
	ldr	w10, [x9]
	ldr	w11, [x23]
	orr	w10, w11, w10, lsl #16
	str	w10, [x23]
	ldr	x9, [x9, #48]
	cbz	x9, LBB0_3
; %bb.1:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_constraint
	orr	w8, w19, w20
	cmp	w8, #0
	cset	w19, ne
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x23, #32]
	lsl	x20, x24, #6
	add	x8, x8, x20
	ldr	w19, [x8, #4]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x23, #32]
	add	x8, x8, x20
	ldr	w19, [x8, #8]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x23, #32]
	add	x8, x8, x20
	ldr	w19, [x8, #12]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x23, #32]
	add	x9, x8, x20
	ldr	x9, [x9, #40]
	cbz	x9, LBB0_6
; %bb.2:
	add	x8, x8, x24, lsl #6
	ldr	x8, [x8, #16]
Lloh17:
	adrp	x9, _SHIFT_LSL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SHIFT_LSL@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w19, ne
	b	LBB0_7
LBB0_3:
	add	x9, x8, x24, lsl #6
	ldr	x10, [x9, #32]
	cbz	x10, LBB0_10
; %bb.4:
	cmp	w25, w26
	b.ne	LBB0_12
; %bb.5:
	add	x8, x8, x24, lsl #6
	ldr	w8, [x8, #12]
	cmp	w8, #0
	cset	w21, ne
	b	LBB0_13
LBB0_6:
	mov	w19, #0
LBB0_7:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x23, #32]
	add	x8, x8, x24, lsl #6
	ldr	w9, [x8, #24]
	ldr	w10, [x23]
	orr	w9, w10, w9
	str	w9, [x23]
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x23, #16]
Lloh22:
	adrp	x9, _O_constant@GOTPAGE
Lloh23:
	ldr	x9, [x9, _O_constant@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w19, ne
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	w8, [x23, #24]
	cmp	w8, #3
	cset	w19, hi
Lloh27:
	adrp	x0, l_.str.8@PAGE
Lloh28:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	w8, [x23, #24]
	ldr	w9, [x23]
	orr	w8, w9, w8, lsl #4
	str	w8, [x23]
LBB0_9:
Lloh29:
	adrp	x8, _BFD_RELOC_UNUSED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BFD_RELOC_UNUSED@GOTPAGEOFF]
	b	LBB0_22
LBB0_10:
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_24
; %bb.11:
	add	x8, x8, x24, lsl #6
	ldr	w0, [x8, #12]
	bl	_assert
Lloh31:
	adrp	x0, l_.str.11@PAGE
Lloh32:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_constraint
Lloh33:
	adrp	x0, l_.str.12@PAGE
Lloh34:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	bl	_constraint
	ldr	w8, [x23]
	mov	w9, #2097152
	mov	w10, #2304
	cmp	w19, #0
	csel	w9, w10, w9, eq
	b	LBB0_20
LBB0_12:
	mov	w21, #0
LBB0_13:
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_constraint
	cbz	w20, LBB0_15
; %bb.14:
	ldr	x8, [x23, #32]
	add	x8, x8, x24, lsl #6
	ldr	w8, [x8, #12]
	cmp	w8, #0
	cset	w20, ne
LBB0_15:
Lloh37:
	adrp	x0, l_.str.10@PAGE
Lloh38:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	bl	_constraint
	ldr	w8, [x23]
	cbz	w19, LBB0_18
; %bb.16:
	orr	w9, w8, #0x1000000
	str	w9, [x23]
	ldr	x9, [x23, #32]
	add	x9, x9, x24, lsl #6
	ldr	w9, [x9, #12]
	cbz	w9, LBB0_21
; %bb.17:
	mov	w9, #18874368
	b	LBB0_20
LBB0_18:
	orr	w9, w8, #0xc00
	str	w9, [x23]
	ldr	x9, [x23, #32]
	add	x9, x9, x24, lsl #6
	ldr	w9, [x9, #12]
	cbz	w9, LBB0_21
; %bb.19:
	mov	w9, #3328
LBB0_20:
	orr	w8, w8, w9
	str	w8, [x23]
LBB0_21:
Lloh39:
	adrp	x8, _BFD_RELOC_ARM_T32_OFFSET_IMM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BFD_RELOC_ARM_T32_OFFSET_IMM@GOTPAGEOFF]
LBB0_22:
	ldr	x8, [x8]
	str	x8, [x23, #8]
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh41:
	adrp	x0, l_.str.13@PAGE
Lloh42:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__
	str	w0, [x23, #4]
	b	LBB0_23
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,40,3                      ; @inst
	.comm	_REG_PC,4,2                     ; @REG_PC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Instruction does not support =N addresses"

l_.str.1:                               ; @.str.1
	.asciz	"cannot use register index with PC-relative addressing"

l_.str.2:                               ; @.str.2
	.asciz	"cannot use register index with this instruction"

l_.str.3:                               ; @.str.3
	.asciz	"Thumb does not support negative register indexing"

l_.str.4:                               ; @.str.4
	.asciz	"Thumb does not support register post-indexing"

l_.str.5:                               ; @.str.5
	.asciz	"Thumb does not support register indexing with writeback"

	.comm	_SHIFT_LSL,8,3                  ; @SHIFT_LSL
l_.str.6:                               ; @.str.6
	.asciz	"Thumb supports only LSL in shifted register indexing"

	.comm	_O_constant,8,3                 ; @O_constant
l_.str.7:                               ; @.str.7
	.asciz	"expression too complex"

l_.str.8:                               ; @.str.8
	.asciz	"shift out of range"

	.comm	_BFD_RELOC_UNUSED,8,3           ; @BFD_RELOC_UNUSED
l_.str.9:                               ; @.str.9
	.asciz	"cannot use writeback with PC-relative addressing"

l_.str.10:                              ; @.str.10
	.asciz	"cannot use writeback with this instruction"

	.comm	_BFD_RELOC_ARM_T32_OFFSET_IMM,8,3 ; @BFD_RELOC_ARM_T32_OFFSET_IMM
l_.str.11:                              ; @.str.11
	.asciz	"cannot use post-indexing with PC-relative addressing"

l_.str.12:                              ; @.str.12
	.asciz	"cannot use post-indexing with this instruction"

l_.str.13:                              ; @.str.13
	.asciz	"instruction does not accept unindexed addressing"

	.no_dead_strip	_encode_thumb32_addr_mode
.subsections_via_symbols
