	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf32_arm_to_thumb_stub
_elf32_arm_to_thumb_stub:               ## @elf32_arm_to_thumb_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_elf32_arm_hash_table
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_BFD_ASSERT
	movq	(%rbx), %rdi
	movq	_ARM2THUMB_GLUE_SECTION_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_get_section_by_name
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%r15)
	setne	%dil
	callq	_BFD_ASSERT
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	16(%rbp), %r8
	movl	40(%rbp), %r9d
	pushq	48(%rbp)
	pushq	%r15
	callq	_elf32_arm_create_thumb_stub
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	32(%rbp), %ecx
	movl	24(%rbp), %edx
	addl	%ecx, %edx
	movl	(%rax), %ebx
	subl	%edx, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_bfd_get_32
	movq	8(%r15), %rcx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %edx
	addl	(%r15), %ebx
	addl	(%rcx), %ebx
	movq	8(%rsi), %rcx
	addl	(%rcx), %edx
	subl	%edx, %ebx
	addl	$67108856, %ebx                 ## imm = 0x3FFFFF8
	shrl	$2, %ebx
	andl	$16777215, %ebx                 ## imm = 0xFFFFFF
	andl	$-16777216, %eax                ## imm = 0xFF000000
	orl	%eax, %ebx
	movslq	4(%rsi), %rax
	shlq	$2, %rax
	subq	%rax, %r12
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_bfd_put_32
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM2THUMB_GLUE_SECTION_NAME,4,2 ## @ARM2THUMB_GLUE_SECTION_NAME
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_elf32_arm_to_thumb_stub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf32_arm_to_thumb_stub
_elf32_arm_to_thumb_stub:               ; @elf32_arm_to_thumb_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
	str	w7, [sp, #12]                   ; 4-byte Folded Spill
	mov	x24, x6
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x23, x2
	mov	x26, x1
	mov	x27, x0
	ldr	w28, [x29, #20]
	ldr	x22, [x29, #24]
	bl	_elf32_arm_hash_table
	mov	x25, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x25]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x0, [x25]
Lloh0:
	adrp	x8, _ARM2THUMB_GLUE_SECTION_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM2THUMB_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	x0, x27
	mov	x1, x26
	mov	x2, x23
	mov	x3, x20
	mov	x4, x24
	mov	x5, x28
	mov	x6, x25
	mov	x7, x22
	bl	_elf32_arm_create_thumb_stub
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w22, [x29, #16]
	ldr	w24, [x0]
	mov	x0, x23
	mov	x1, x19
	bl	_bfd_get_32
	mov	x1, x0
	ldr	w8, [x25]
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	ldr	x10, [x21, #8]
	ldr	w10, [x10]
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	add	w11, w11, w22
	sub	w11, w24, 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, w9, w10
	sub	w8, w8, w9
	mov	w9, #67108856
	add	w8, w8, w9
	bfxil	w1, w8, #2, #24
	sub	x2, x19, x11, lsl #2
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bfd_put_32
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM2THUMB_GLUE_SECTION_NAME,4,2 ; @ARM2THUMB_GLUE_SECTION_NAME
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_elf32_arm_to_thumb_stub
.subsections_via_symbols
