	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_call_via_reg             ## -- Begin function thumb_call_via_reg
	.p2align	4, 0x90
_thumb_call_via_reg:                    ## @thumb_call_via_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_REGNO
	movl	%eax, %ebx
	movq	_LR_REGNUM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_gcc_assert
	movq	_in_section@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_text_section@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_thumb_call_reg_needed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_thumb_call_via_label@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%ebx, %rbx
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_cfun@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
LBB0_5:
	leaq	(%rax,%rbx,8), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_output_asm_insn
	leaq	L_.str.1(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LR_REGNUM,4,2                  ## @LR_REGNUM
	.comm	_in_section,8,3                 ## @in_section
	.comm	_text_section,8,3               ## @text_section
	.comm	_thumb_call_reg_needed,4,2      ## @thumb_call_reg_needed
	.comm	_thumb_call_via_label,8,3       ## @thumb_call_via_label
	.comm	_cfun,8,3                       ## @cfun
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bl\t%a0"

L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_call_via_reg             ; -- Begin function thumb_call_via_reg
	.p2align	2
_thumb_call_via_reg:                    ; @thumb_call_via_reg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_REGNO
	mov	x19, x0
Lloh0:
	adrp	x8, _LR_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LR_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, lt
	bl	_gcc_assert
Lloh3:
	adrp	x8, _in_section@GOTPAGE
Lloh4:
	ldr	x8, [x8, _in_section@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _text_section@GOTPAGE
Lloh7:
	ldr	x9, [x9, _text_section@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh9:
	adrp	x8, _thumb_call_reg_needed@GOTPAGE
Lloh10:
	ldr	x8, [x8, _thumb_call_reg_needed@GOTPAGEOFF]
	mov	w9, #1
Lloh11:
	str	w9, [x8]
Lloh12:
	adrp	x21, _thumb_call_via_label@GOTPAGE
Lloh13:
	ldr	x21, [x21, _thumb_call_via_label@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x20, w19
	ldr	x9, [x8, w19, sxtw #3]
	cbnz	x9, LBB0_5
; %bb.2:
	bl	_gen_label_rtx
	ldr	x8, [x21]
	str	x0, [x8, x20, lsl #3]
	ldr	x8, [x21]
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x21, _cfun@GOTPAGE
Lloh15:
	ldr	x21, [x21, _cfun@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x9, x19
	sxtw	x20, w9
	ldr	x9, [x8, w19, sxtw #3]
	cbnz	x9, LBB0_5
; %bb.4:
	bl	_gen_label_rtx
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	str	x0, [x8, x20, lsl #3]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
LBB0_5:
	add	x1, x8, x20, lsl #3
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_output_asm_insn
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LR_REGNUM,4,2                  ; @LR_REGNUM
	.comm	_in_section,8,3                 ; @in_section
	.comm	_text_section,8,3               ; @text_section
	.comm	_thumb_call_reg_needed,4,2      ; @thumb_call_reg_needed
	.comm	_thumb_call_via_label,8,3       ; @thumb_call_via_label
	.comm	_cfun,8,3                       ; @cfun
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bl\t%a0"

l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
