	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_arm_to_thumb_glue
_record_arm_to_thumb_glue:              ## @record_arm_to_thumb_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	%rdi, %r14
	movq	(%rsi), %r12
	callq	_coff_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	_ARM2THUMB_GLUE_SECTION_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_get_section_by_name
	xorl	%edi, %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_ARM2THUMB_GLUE_ENTRY_NAME@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_bfd_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_BFD_ASSERT
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_sprintf
	movq	%r14, %rdi
	callq	_coff_hash_table
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_coff_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, -56(%rbp)
	movq	(%r13), %r9
	movq	8(%r13), %rsi
	incq	%r9
	movq	_BSF_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r10d
	movl	(%r15), %eax
	leaq	-56(%rbp), %r11
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_bfd_coff_link_add_one_symbol
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_free
	movq	_ARM2THUMB_GLUE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, (%r13)
	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	_ARM2THUMB_GLUE_ENTRY_NAME,8,3  ## @ARM2THUMB_GLUE_ENTRY_NAME
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BSF_GLOBAL,4,2                 ## @BSF_GLOBAL
	.comm	_ARM2THUMB_GLUE_SIZE,8,3        ## @ARM2THUMB_GLUE_SIZE
	.no_dead_strip	_record_arm_to_thumb_glue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_arm_to_thumb_glue
_record_arm_to_thumb_glue:              ; @record_arm_to_thumb_glue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x0
	ldr	x22, [x1]
	bl	_coff_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, _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	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
Lloh3:
	adrp	x24, _ARM2THUMB_GLUE_ENTRY_NAME@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ARM2THUMB_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
	mov	x0, x20
	bl	_coff_hash_table
Lloh5:
	adrp	x22, _FALSE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh7:
	adrp	x24, _TRUE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	ldr	w4, [x24]
	mov	x1, x23
	mov	x3, x2
	bl	_coff_link_hash_lookup
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	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
	add	sp, sp, #96
	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, [x24]
	ldr	w8, [x22]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x0, x20
	mov	x2, x23
	mov	x4, x21
	mov	x6, #0
	bl	_bfd_coff_link_add_one_symbol
	mov	x0, x23
	bl	_free
Lloh12:
	adrp	x8, _ARM2THUMB_GLUE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARM2THUMB_GLUE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM2THUMB_GLUE_SECTION_NAME,4,2 ; @ARM2THUMB_GLUE_SECTION_NAME
	.comm	_ARM2THUMB_GLUE_ENTRY_NAME,8,3  ; @ARM2THUMB_GLUE_ENTRY_NAME
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BSF_GLOBAL,4,2                 ; @BSF_GLOBAL
	.comm	_ARM2THUMB_GLUE_SIZE,8,3        ; @ARM2THUMB_GLUE_SIZE
	.no_dead_strip	_record_arm_to_thumb_glue
.subsections_via_symbols
