	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ix86_save_reg
_ix86_save_reg:                         ## @ix86_save_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_pic_offset_table_rtx@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_REAL_PIC_OFFSET_TABLE_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_6
## %bb.2:
	movq	_regs_ever_live@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_20
## %bb.3:
	movq	_current_function_profile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_20
## %bb.4:
	movq	_current_function_calls_eh_return@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_20
## %bb.5:
	movq	_current_function_uses_const_pool@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_20
LBB0_6:
	testl	%esi, %esi
	je	LBB0_15
## %bb.7:
	movq	_current_function_calls_eh_return@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.8:
	xorl	%ebx, %ebx
	movq	_INVALID_REGNUM@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_EH_RETURN_DATA_REGNO
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	sete	%sil
	movl	$2, %edx
	cmpl	(%r15), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movb	%sil, %cl
	movl	%ecx, %edx
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%edx, %edx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	jmp	LBB0_9
LBB0_13:
	cmpl	$2, %edx
	je	LBB0_15
## %bb.14:
	movb	$1, %cl
	cmpl	%r14d, %eax
	je	LBB0_25
LBB0_15:
	movq	_cfun@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_REGNO
	movb	$1, %cl
	cmpl	%r14d, %eax
	je	LBB0_25
LBB0_17:
	movq	_regs_ever_live@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r14d, %eax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_21
## %bb.18:
	movq	_call_used_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%rax,4)
	jne	LBB0_21
## %bb.22:
	movq	_fixed_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%rax,4)
	je	LBB0_24
LBB0_21:
	xorl	%ecx, %ecx
	jmp	LBB0_25
LBB0_20:
	xorl	%eax, %eax
	callq	_ix86_select_alt_pic_regnum
	movq	_INVALID_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
LBB0_25:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_HARD_FRAME_POINTER_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	setne	%al
	movq	_frame_pointer_needed@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	sete	%cl
	orb	%al, %cl
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_pic_offset_table_rtx,8,3       ## @pic_offset_table_rtx
	.comm	_REAL_PIC_OFFSET_TABLE_REGNUM,4,2 ## @REAL_PIC_OFFSET_TABLE_REGNUM
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_current_function_profile,8,3   ## @current_function_profile
	.comm	_current_function_calls_eh_return,8,3 ## @current_function_calls_eh_return
	.comm	_current_function_uses_const_pool,8,3 ## @current_function_uses_const_pool
	.comm	_INVALID_REGNUM,4,2             ## @INVALID_REGNUM
	.comm	_cfun,8,3                       ## @cfun
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_fixed_regs,8,3                 ## @fixed_regs
	.comm	_HARD_FRAME_POINTER_REGNUM,4,2  ## @HARD_FRAME_POINTER_REGNUM
	.comm	_frame_pointer_needed,4,2       ## @frame_pointer_needed
	.no_dead_strip	_ix86_save_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ix86_save_reg
_ix86_save_reg:                         ; @ix86_save_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
	mov	x19, x0
Lloh0:
	adrp	x8, _pic_offset_table_rtx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pic_offset_table_rtx@GOTPAGEOFF]
Lloh2:
	adrp	x9, _REAL_PIC_OFFSET_TABLE_REGNUM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REAL_PIC_OFFSET_TABLE_REGNUM@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w0, #0, ne
Lloh6:
	adrp	x8, _current_function_calls_eh_return@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current_function_calls_eh_return@GOTPAGEOFF]
	b.ne	LBB0_4
; %bb.1:
Lloh8:
	adrp	x9, _regs_ever_live@GOTPAGE
Lloh9:
	ldr	x9, [x9, _regs_ever_live@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x9, [x9, w19, uxtw #3]
Lloh11:
	adrp	x10, _current_function_profile@GOTPAGE
Lloh12:
	ldr	x10, [x10, _current_function_profile@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _current_function_uses_const_pool@GOTPAGE
Lloh15:
	ldr	x11, [x11, _current_function_uses_const_pool@GOTPAGEOFF]
	ldr	x12, [x8]
Lloh16:
	ldr	x11, [x11]
	cmp	x9, #0
	ccmp	x10, #0, #0, eq
	ccmp	x12, #0, #0, eq
	ccmp	x11, #0, #0, eq
	b.eq	LBB0_4
; %bb.2:
	bl	_ix86_select_alt_pic_regnum
Lloh17:
	adrp	x8, _INVALID_REGNUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INVALID_REGNUM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
LBB0_3:
	cset	w0, eq
	b	LBB0_17
LBB0_4:
	cbz	w1, LBB0_10
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.6:
	mov	w20, #0
Lloh20:
	adrp	x21, _INVALID_REGNUM@GOTPAGE
Lloh21:
	ldr	x21, [x21, _INVALID_REGNUM@GOTPAGEOFF]
	mov	w22, #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_EH_RETURN_DATA_REGNO
	ldr	w8, [x21]
	cmp	w0, w19
	cset	w9, eq
	cmp	w0, w8
	csel	w8, w22, w9, eq
	cbnz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	b	LBB0_7
LBB0_9:
	cmp	w8, #2
	ccmp	w0, w19, #0, ne
	b.eq	LBB0_12
LBB0_10:
Lloh22:
	adrp	x8, _cfun@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cfun@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_13
; %bb.11:
	bl	_REGNO
	cmp	w0, w19
	b.ne	LBB0_13
LBB0_12:
	mov	w0, #1
	b	LBB0_17
LBB0_13:
Lloh25:
	adrp	x8, _regs_ever_live@GOTPAGE
Lloh26:
	ldr	x8, [x8, _regs_ever_live@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, uxtw #3]
	cbz	x8, LBB0_16
; %bb.14:
	mov	w8, w19
Lloh28:
	adrp	x9, _call_used_regs@GOTPAGE
Lloh29:
	ldr	x9, [x9, _call_used_regs@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldr	w9, [x9, x8, lsl #2]
	cbnz	w9, LBB0_16
; %bb.15:
Lloh31:
	adrp	x9, _fixed_regs@GOTPAGE
Lloh32:
	ldr	x9, [x9, _fixed_regs@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	cbz	w8, LBB0_18
LBB0_16:
	mov	w0, #0
LBB0_17:
	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
LBB0_18:
Lloh34:
	adrp	x8, _HARD_FRAME_POINTER_REGNUM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HARD_FRAME_POINTER_REGNUM@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w8, w19
Lloh37:
	adrp	x8, _frame_pointer_needed@GOTPAGE
Lloh38:
	ldr	x8, [x8, _frame_pointer_needed@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ccmp	w8, #0, #4, eq
	b	LBB0_3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_pic_offset_table_rtx,8,3       ; @pic_offset_table_rtx
	.comm	_REAL_PIC_OFFSET_TABLE_REGNUM,4,2 ; @REAL_PIC_OFFSET_TABLE_REGNUM
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_current_function_profile,8,3   ; @current_function_profile
	.comm	_current_function_calls_eh_return,8,3 ; @current_function_calls_eh_return
	.comm	_current_function_uses_const_pool,8,3 ; @current_function_uses_const_pool
	.comm	_INVALID_REGNUM,4,2             ; @INVALID_REGNUM
	.comm	_cfun,8,3                       ; @cfun
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_fixed_regs,8,3                 ; @fixed_regs
	.comm	_HARD_FRAME_POINTER_REGNUM,4,2  ; @HARD_FRAME_POINTER_REGNUM
	.comm	_frame_pointer_needed,4,2       ; @frame_pointer_needed
	.no_dead_strip	_ix86_save_reg
.subsections_via_symbols
