	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf32_thumb_to_arm_stub
_elf32_thumb_to_arm_stub:               ## @elf32_thumb_to_arm_stub
	.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
	movq	%r9, %r14
	movq	%r8, %r13
	movq	%rcx, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	48(%rbp), %rdx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_find_thumb_glue
	movq	%rax, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	testq	%r15, %r15
	je	LBB0_9
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_elf32_arm_hash_table
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%r13)
	setne	%dil
	callq	_BFD_ASSERT
	movl	(%r15), %r14d
	movq	8(%r13), %rdi
	movq	_THUMB2ARM_GLUE_SECTION_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_get_section_by_name
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 16(%r12)
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	setne	%dil
	callq	_BFD_ASSERT
	testb	$1, %r14b
	jne	LBB0_3
## %bb.2:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_3:
	movq	16(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_INTERWORK_FLAG
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movl	40(%rbp), %ebx
	movslq	%r14d, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	-1(%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r15)
	movq	_t2a1_bx_pc_insn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(,%rcx,4), %rcx
	addq	16(%r12), %rcx
	movq	%r13, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_put_thumb_insn
	movq	_t2a2_noop_insn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rcx
	addq	$4, %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_put_thumb_insn
	addl	(%r12), %r14d
	movq	8(%r12), %rax
	movq	16(%r12), %rcx
	addl	(%rax), %r14d
	subl	%r14d, %ebx
	addl	$67108853, %ebx                 ## imm = 0x3FFFFF5
	movq	_t2a3_b_insn@GOTPCREL(%rip), %rax
	shrl	$2, %ebx
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	orl	(%rax), %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	addq	$12, %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_put_arm_insn
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
LBB0_8:
	movl	24(%rbp), %ebx
	xorl	%edi, %edi
	cmpl	(%r13), %r14d
	setle	%dil
	callq	_BFD_ASSERT
	movq	8(%r12), %rax
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rcx
	movl	(%rcx), %ecx
	addl	32(%rbp), %ebx
	subl	%ebx, %r14d
	addl	(%rax), %r14d
	addl	(%r12), %r14d
	addl	(%r13), %ecx
	subl	%ecx, %r14d
	addl	$-8, %r14d
	movslq	%r14d, %r14
	movslq	4(%r13), %rax
	shlq	$2, %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	subq	%rax, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_get_32
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_insert_thumb_branch
	movslq	4(%r13), %rcx
	shlq	$2, %rcx
	subq	%rcx, %rbx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	24(%rbx), %rsi
	movl	%eax, %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	__bfd_error_handler
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_THUMB2ARM_GLUE_SECTION_NAME,4,2 ## @THUMB2ARM_GLUE_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B(%s): warning: interworking not enabled.\n  first occurrence: %B: thumb call to arm"

	.comm	_t2a1_bx_pc_insn,8,3            ## @t2a1_bx_pc_insn
	.comm	_t2a2_noop_insn,8,3             ## @t2a2_noop_insn
	.comm	_t2a3_b_insn,8,3                ## @t2a3_b_insn
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_elf32_thumb_to_arm_stub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf32_thumb_to_arm_stub
_elf32_thumb_to_arm_stub:               ; @elf32_thumb_to_arm_stub
	.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	x23, x7
	mov	x27, x6
	mov	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x26, x1
	mov	x24, x0
	ldr	x2, [x29, #24]
	bl	_find_thumb_glue
	cbz	x0, LBB0_8
; %bb.1:
	mov	x28, x0
	str	w23, [sp, #4]                   ; 4-byte Folded Spill
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x24
	bl	_elf32_arm_hash_table
	mov	x24, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x24, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	w22, [x28]
	ldr	x0, [x24, #8]
Lloh0:
	adrp	x8, _THUMB2ARM_GLUE_SECTION_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THUMB2ARM_GLUE_SECTION_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bfd_get_section_by_name
	mov	x25, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x25, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x25, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	mov	x23, x22
	tbz	w22, #0, LBB0_6
; %bb.2:
	cbz	x27, LBB0_5
; %bb.3:
	ldr	x0, [x27, #24]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_INTERWORK_FLAG
	cbz	w0, LBB0_7
LBB0_5:
	ldr	w26, [x29, #20]
	sub	w23, w22, #1
	str	w23, [x28]
Lloh3:
	adrp	x8, _t2a1_bx_pc_insn@GOTPAGE
Lloh4:
	ldr	x8, [x8, _t2a1_bx_pc_insn@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x8, [x25, #16]
	sbfiz	x27, x23, #2, #32
	add	x3, x8, x27
	mov	x0, x24
	mov	x1, x19
	bl	_put_thumb_insn
Lloh6:
	adrp	x8, _t2a2_noop_insn@GOTPAGE
Lloh7:
	ldr	x8, [x8, _t2a2_noop_insn@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	x8, [x25, #16]
	add	x8, x8, x27
	add	x3, x8, #8
	mov	x0, x24
	mov	x1, x19
	bl	_put_thumb_insn
	ldr	w8, [x25]
	ldp	x9, x10, [x25, #8]
	ldr	w9, [x9]
	add	w8, w22, w8
	add	w8, w8, w9
	mov	w9, #65525
	movk	w9, #1023, lsl #16
Lloh9:
	adrp	x11, _t2a3_b_insn@GOTPAGE
Lloh10:
	ldr	x11, [x11, _t2a3_b_insn@GOTPAGEOFF]
	sub	w8, w26, w8
	add	w8, w8, w9
Lloh11:
	ldr	w9, [x11]
	ubfx	w8, w8, #2, #24
	orr	w2, w8, w9
	add	x8, x10, x27
	add	x3, x8, #16
	mov	x0, x24
	mov	x1, x19
	bl	_put_arm_insn
LBB0_6:
	ldr	w22, [x29, #16]
	ldr	w8, [x24]
	cmp	w23, w8
	cset	w0, le
	bl	_BFD_ASSERT
	ldr	x8, [x25, #8]
	ldr	w8, [x8]
	ldr	w9, [x25]
	ldr	x10, [x21, #8]
	ldr	w10, [x10]
	ldr	w11, [sp, #4]                   ; 4-byte Folded Reload
	add	w11, w11, w22
	sub	w11, w23, w11
	add	w8, w11, w8
	add	w8, w8, w9
	ldp	w9, w11, [x21]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	w9, w10, w9
	sub	w8, w8, w9
	sub	w8, w8, #8
	sxtw	x23, w8
	sub	x1, x20, x11, lsl #2
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_bfd_get_32
	mov	x1, x23
	bl	_insert_thumb_branch
	mov	x1, x0
	ldrsw	x8, [x21, #4]
	sub	x2, x20, x8, lsl #2
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bfd_put_32
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x27, #24]
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x26
	bl	__bfd_error_handler
LBB0_8:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_THUMB2ARM_GLUE_SECTION_NAME,4,2 ; @THUMB2ARM_GLUE_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B(%s): warning: interworking not enabled.\n  first occurrence: %B: thumb call to arm"

	.comm	_t2a1_bx_pc_insn,8,3            ; @t2a1_bx_pc_insn
	.comm	_t2a2_noop_insn,8,3             ; @t2a2_noop_insn
	.comm	_t2a3_b_insn,8,3                ; @t2a3_b_insn
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_elf32_thumb_to_arm_stub
.subsections_via_symbols
