	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_set_return_address       ## -- Begin function thumb_set_return_address
	.p2align	4, 0x90
_thumb_set_return_address:              ## @thumb_set_return_address
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_gen_rtx_USE
	movl	%eax, %edi
	callq	_emit_insn
	xorl	%eax, %eax
	callq	_thumb_compute_save_reg_mask
	movq	_LR_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movslq	%edx, %rdx
	testq	%rdx, %rax
	je	LBB0_8
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_arm_get_frame_offsets
	movq	_frame_pointer_needed@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	sete	%dl
	movl	(%rax,%rdx,8), %ecx
	movq	_SP_REGNUM@GOTPCREL(%rip), %r13
	movq	%r13, %rdx
	je	LBB0_3
## %bb.2:
	movq	_THUMB_HARD_FRAME_POINTER_REGNUM@GOTPCREL(%rip), %rdx
LBB0_3:
	subl	4(%rax), %ecx
	movq	_TARGET_BACKTRACE@GOTPCREL(%rip), %rax
	leal	-16(%rcx), %r14d
	cmpq	$0, (%rax)
	cmovel	%ecx, %r14d
	movl	(%rdx), %ebx
	leal	-4(%r14), %r12d
	movq	_SImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_gen_rtx_REG
	cmpl	(%r13), %ebx
	setne	%cl
	cmpl	$132, %r14d
	setge	%dl
	testb	%dl, %cl
	jne	LBB0_5
## %bb.4:
	cmpl	$1028, %r14d                    ## imm = 0x404
	jge	LBB0_5
## %bb.6:
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_plus_constant
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_8:
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ecx, %esi
	callq	_gen_rtx_REG
	jmp	LBB0_9
LBB0_5:
	movl	%r12d, %edi
	callq	_GEN_INT
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_gen_movsi
	movl	%eax, %edi
	callq	_emit_insn
	movq	_stack_pointer_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r15d, %esi
	callq	_gen_addsi3
	movl	%eax, %edi
	callq	_emit_insn
LBB0_7:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_gen_frame_mem
LBB0_9:
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_move_insn                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_LR_REGNUM,4,2                  ## @LR_REGNUM
	.comm	_frame_pointer_needed,8,3       ## @frame_pointer_needed
	.comm	_THUMB_HARD_FRAME_POINTER_REGNUM,4,2 ## @THUMB_HARD_FRAME_POINTER_REGNUM
	.comm	_SP_REGNUM,4,2                  ## @SP_REGNUM
	.comm	_TARGET_BACKTRACE,8,3           ## @TARGET_BACKTRACE
	.comm	_SImode,4,2                     ## @SImode
	.comm	_stack_pointer_rtx,4,2          ## @stack_pointer_rtx
	.comm	_Pmode,4,2                      ## @Pmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_set_return_address       ; -- Begin function thumb_set_return_address
	.p2align	2
_thumb_set_return_address:              ; @thumb_set_return_address
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_gen_rtx_USE
	bl	_emit_insn
	bl	_thumb_compute_save_reg_mask
Lloh3:
	adrp	x8, _LR_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LR_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w8, #1
	lsl	w8, w8, w1
	sxtw	x8, w8
	tst	x0, x8
	b.eq	LBB0_4
; %bb.1:
	bl	_arm_get_frame_offsets
Lloh6:
	adrp	x8, _frame_pointer_needed@GOTPAGE
Lloh7:
	ldr	x8, [x8, _frame_pointer_needed@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x24, _SP_REGNUM@GOTPAGE
Lloh10:
	ldr	x24, [x24, _SP_REGNUM@GOTPAGEOFF]
Lloh11:
	adrp	x9, _THUMB_HARD_FRAME_POINTER_REGNUM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _THUMB_HARD_FRAME_POINTER_REGNUM@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x24, x9, eq
	cset	w9, eq
	lsl	x9, x9, #3
	ldr	w9, [x0, x9]
	ldr	w10, [x0, #4]
	sub	w9, w9, w10
	ldr	w22, [x8]
Lloh13:
	adrp	x8, _TARGET_BACKTRACE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TARGET_BACKTRACE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	sub	w10, w9, #16
	cmp	x8, #0
	csel	w23, w9, w10, eq
	sub	w21, w23, #4
Lloh16:
	adrp	x8, _SImode@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_gen_rtx_REG
	ldr	w8, [x24]
	cmp	w23, #131
	ccmp	w22, w8, #4, gt
	b.ne	LBB0_5
; %bb.2:
	cmp	w23, #1028
	b.ge	LBB0_5
; %bb.3:
	mov	x1, x21
	bl	_plus_constant
	mov	x20, x0
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x8, _Pmode@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Pmode@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_gen_rtx_REG
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x20
	bl	_gen_movsi
	bl	_emit_insn
Lloh22:
	adrp	x8, _stack_pointer_rtx@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stack_pointer_rtx@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x20
	bl	_gen_addsi3
	bl	_emit_insn
LBB0_6:
Lloh25:
	adrp	x8, _Pmode@GOTPAGE
Lloh26:
	ldr	x8, [x8, _Pmode@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_gen_frame_mem
LBB0_7:
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_emit_move_insn
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_LR_REGNUM,4,2                  ; @LR_REGNUM
	.comm	_frame_pointer_needed,8,3       ; @frame_pointer_needed
	.comm	_THUMB_HARD_FRAME_POINTER_REGNUM,4,2 ; @THUMB_HARD_FRAME_POINTER_REGNUM
	.comm	_SP_REGNUM,4,2                  ; @SP_REGNUM
	.comm	_TARGET_BACKTRACE,8,3           ; @TARGET_BACKTRACE
	.comm	_SImode,4,2                     ; @SImode
	.comm	_stack_pointer_rtx,4,2          ; @stack_pointer_rtx
	.comm	_Pmode,4,2                      ; @Pmode
.subsections_via_symbols
