	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_thumb_to_arm_glue
_record_thumb_to_arm_glue:              ## @record_thumb_to_arm_glue
	.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	8(%rsi), %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	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
	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
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_THUMB2ARM_GLUE_ENTRY_NAME@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_bfd_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_BFD_ASSERT
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_sprintf
	leaq	16(%r13), %rdi
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_elf_link_hash_lookup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_1:
	movq	$0, -48(%rbp)
	movq	(%r13), %r9
	movq	8(%r13), %rsi
	incq	%r9
	movq	_BSF_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	(%r14), %eax
	leaq	-48(%rbp), %r11
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %r8
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	__bfd_generic_link_add_one_symbol
	addq	$32, %rsp
	movq	-48(%rbp), %r14
	movq	_STB_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STT_ARM_TFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF_ST_INFO
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_strlen
	leaq	19(%rax), %rdi
	callq	_bfd_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_BFD_ASSERT
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_sprintf
	movq	$0, -48(%rbp)
	movq	(%r13), %r9
	movq	8(%r13), %rsi
	addq	$4, %r9
	movq	_BSF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %r8
	leaq	-48(%rbp), %rax
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	$0
	callq	__bfd_generic_link_add_one_symbol
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_free
	movq	_THUMB2ARM_GLUE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	%eax, (%r12)
	addq	%rax, (%r13)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THUMB2ARM_GLUE_SECTION_NAME,4,2 ## @THUMB2ARM_GLUE_SECTION_NAME
	.comm	_THUMB2ARM_GLUE_ENTRY_NAME,8,3  ## @THUMB2ARM_GLUE_ENTRY_NAME
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BSF_GLOBAL,4,2                 ## @BSF_GLOBAL
	.comm	_STB_LOCAL,4,2                  ## @STB_LOCAL
	.comm	_STT_ARM_TFUNC,4,2              ## @STT_ARM_TFUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__%s_change_to_arm"

	.comm	_BSF_LOCAL,4,2                  ## @BSF_LOCAL
	.comm	_THUMB2ARM_GLUE_SIZE,8,3        ## @THUMB2ARM_GLUE_SIZE
	.comm	_CHANGE_TO_ARM,8,3              ## @CHANGE_TO_ARM
	.no_dead_strip	_record_thumb_to_arm_glue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_thumb_to_arm_glue
_record_thumb_to_arm_glue:              ; @record_thumb_to_arm_glue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
	ldr	x22, [x1, #8]
	bl	_elf32_arm_hash_table
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x0, [x19, #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	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
Lloh3:
	adrp	x24, _THUMB2ARM_GLUE_ENTRY_NAME@GOTPAGE
Lloh4:
	ldr	x24, [x24, _THUMB2ARM_GLUE_ENTRY_NAME@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_strlen
	add	x8, x23, x0
	add	x0, x8, #1
	bl	_bfd_malloc
	mov	x23, x0
	bl	_BFD_ASSERT
	ldr	x1, [x24]
	mov	x0, x23
	mov	x2, x22
	bl	_sprintf
	add	x0, x19, #16
Lloh5:
	adrp	x24, _FALSE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh7:
	adrp	x25, _TRUE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	ldr	w4, [x25]
	mov	x1, x23
	mov	x3, x2
	bl	_elf_link_hash_lookup
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
LBB0_2:
	str	xzr, [sp, #24]
	ldp	x8, x1, [x19]
	add	x5, x8, #1
Lloh9:
	adrp	x8, _BSF_GLOBAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BSF_GLOBAL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	ldr	w7, [x25]
	ldr	w8, [x24]
	add	x26, sp, #24
	str	x26, [sp, #8]
	str	w8, [sp]
	mov	x0, x20
	mov	x2, x23
	mov	x4, x21
	mov	x6, #0
	bl	__bfd_generic_link_add_one_symbol
	ldr	x27, [sp, #24]
Lloh12:
	adrp	x8, _STB_LOCAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STB_LOCAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _STT_ARM_TFUNC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STT_ARM_TFUNC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ELF_ST_INFO
	mov	w8, #1
	stp	w8, w0, [x27]
	mov	x0, x23
	bl	_free
	mov	x0, x22
	bl	_strlen
	add	x0, x0, #19
	bl	_bfd_malloc
	mov	x23, x0
	bl	_BFD_ASSERT
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_sprintf
	str	xzr, [sp, #24]
	ldp	x8, x1, [x19]
	add	x5, x8, #4
Lloh20:
	adrp	x8, _BSF_LOCAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BSF_LOCAL@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	ldr	w7, [x25]
	ldr	w8, [x24]
	str	x26, [sp, #8]
	str	w8, [sp]
	mov	x0, x20
	mov	x2, x23
	mov	x4, x21
	mov	x6, #0
	bl	__bfd_generic_link_add_one_symbol
	mov	x0, x23
	bl	_free
Lloh23:
	adrp	x8, _THUMB2ARM_GLUE_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _THUMB2ARM_GLUE_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w9, [x21]
	add	w9, w9, w8
	str	w9, [x21]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_THUMB2ARM_GLUE_SECTION_NAME,4,2 ; @THUMB2ARM_GLUE_SECTION_NAME
	.comm	_THUMB2ARM_GLUE_ENTRY_NAME,8,3  ; @THUMB2ARM_GLUE_ENTRY_NAME
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BSF_GLOBAL,4,2                 ; @BSF_GLOBAL
	.comm	_STB_LOCAL,4,2                  ; @STB_LOCAL
	.comm	_STT_ARM_TFUNC,4,2              ; @STT_ARM_TFUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__%s_change_to_arm"

	.comm	_BSF_LOCAL,4,2                  ; @BSF_LOCAL
	.comm	_THUMB2ARM_GLUE_SIZE,8,3        ; @THUMB2ARM_GLUE_SIZE
	.comm	_CHANGE_TO_ARM,8,3              ; @CHANGE_TO_ARM
	.no_dead_strip	_record_thumb_to_arm_glue
.subsections_via_symbols
