	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_save_or_restore_regs
_emit_save_or_restore_regs:             ## @emit_save_or_restore_regs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_frame_base_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_apparent_fsize@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	cmpl	$-4096, %ebx                    ## imm = 0xF000
	jl	LBB0_2
## %bb.1:
	movq	_num_gfregs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rbx,%rax,4), %eax
	cmpl	$4096, %eax                     ## imm = 0x1000
	jl	LBB0_3
LBB0_2:
	movq	_Pmode@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	$1, %esi
	callq	_gen_rtx_REG
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GEN_INT
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_emit_move_insn
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	movq	_frame_base_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_gen_rtx_PLUS
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_frame_base_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	xorl	%edi, %edi
	movl	$8, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_save_or_restore_regs
	movq	_TARGET_V9@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	$0, (%rcx)
	setne	%sil
	shll	$5, %esi
	orl	$64, %esi
	movl	$32, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_save_or_restore_regs           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_frame_base_offset,4,2          ## @frame_base_offset
	.comm	_apparent_fsize,4,2             ## @apparent_fsize
	.comm	_num_gfregs,4,2                 ## @num_gfregs
	.comm	_Pmode,4,2                      ## @Pmode
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_frame_base_reg,4,2             ## @frame_base_reg
	.comm	_TARGET_V9,8,3                  ## @TARGET_V9
	.no_dead_strip	_emit_save_or_restore_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_save_or_restore_regs
_emit_save_or_restore_regs:             ; @emit_save_or_restore_regs
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _frame_base_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _frame_base_offset@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _apparent_fsize@GOTPAGE
Lloh4:
	ldr	x9, [x9, _apparent_fsize@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w21, w8, w9
	cmn	w21, #1, lsl #12                ; =4096
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _num_gfregs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _num_gfregs@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w8, w21, w8, lsl #2
	cmp	w8, #1, lsl #12                 ; =4096
	b.lt	LBB0_3
LBB0_2:
Lloh9:
	adrp	x22, _Pmode@GOTPAGE
Lloh10:
	ldr	x22, [x22, _Pmode@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #1
	bl	_gen_rtx_REG
	mov	x20, x0
	mov	x0, x21
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x20
	bl	_emit_move_insn
Lloh11:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	ldr	w0, [x22]
Lloh14:
	adrp	x8, _frame_base_reg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _frame_base_reg@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_gen_rtx_PLUS
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_gen_rtx_SET
	bl	_emit_insn
	mov	w21, #0
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _frame_base_reg@GOTPAGE
Lloh18:
	ldr	x8, [x8, _frame_base_reg@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
LBB0_4:
	mov	w0, #0
	mov	w1, #8
	mov	x2, x20
	mov	x3, x21
	mov	x4, x19
	bl	_save_or_restore_regs
	mov	x3, x0
Lloh20:
	adrp	x8, _TARGET_V9@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TARGET_V9@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #96
	mov	w9, #64
	csel	w1, w9, w8, eq
	mov	w0, #32
	mov	x2, x20
	mov	x4, x19
	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
	b	_save_or_restore_regs
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_frame_base_offset,4,2          ; @frame_base_offset
	.comm	_apparent_fsize,4,2             ; @apparent_fsize
	.comm	_num_gfregs,4,2                 ; @num_gfregs
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_frame_base_reg,4,2             ; @frame_base_reg
	.comm	_TARGET_V9,8,3                  ; @TARGET_V9
	.no_dead_strip	_emit_save_or_restore_regs
.subsections_via_symbols
