	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_get_frame_offsets
_arm_get_frame_offsets:                 ## @arm_get_frame_offsets
	.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
	movq	_cfun@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	_reload_completed@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_29
## %bb.1:
	xorl	%eax, %eax
	callq	_get_frame_size
	movl	%eax, %edi
	callq	_ROUND_UP_WORD
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_leaf_function_p
	movl	%eax, %r15d
	movq	_current_function_pretend_args_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_frame_pointer_needed@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	setne	%dl
	leal	(%rax,%rdx,4), %eax
	movl	%eax, 4(%r12)
	movq	_TARGET_ARM@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.2:
	xorl	%eax, %eax
	callq	_arm_compute_save_reg_mask
	movl	%eax, %edi
	callq	_bit_count
	movl	%eax, %ebx
	shll	$2, %ebx
	movq	_TARGET_REALLY_IWMMXT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_FIRST_IWMMXT_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LAST_IWMMXT_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jbe	LBB0_4
LBB0_8:
	xorl	%eax, %eax
	callq	_arm_current_func_type
	movq	%rax, %rdi
	callq	_IS_VOLATILE
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	movq	_FIRST_FPA_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LAST_FPA_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jbe	LBB0_10
LBB0_14:
	movq	_TARGET_HARD_FLOAT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.15:
	movq	_TARGET_VFP@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.16:
	xorl	%eax, %eax
	callq	_arm_get_vfp_saved_size
	addl	%eax, %ebx
	jmp	LBB0_18
LBB0_17:
	xorl	%eax, %eax
	callq	_thumb_compute_save_reg_mask
	movl	%eax, %edi
	callq	_bit_count
                                        ## kill: def $eax killed $eax def $rax
	movq	_TARGET_BACKTRACE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	leal	(,%rax,4), %ecx
	leal	16(,%rax,4), %ebx
	cmovel	%ecx, %ebx
LBB0_18:
	addl	(%r12), %ebx
	movl	%ebx, 8(%r12)
	movq	_CALLER_INTERWORKING_SLOT_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, 12(%r12)
	testl	%r15d, %r15d
	je	LBB0_21
## %bb.19:
	testq	%r14, %r14
	jne	LBB0_21
## %bb.20:
	movl	%ebx, 16(%r12)
	movl	%ebx, 20(%r12)
	jmp	LBB0_29
LBB0_21:
	movq	_ARM_DOUBLEWORD_ALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movl	%ebx, %ecx
	andl	$7, %ecx
	je	LBB0_24
## %bb.23:
	addl	$4, %ebx
	movl	%ebx, 12(%r12)
LBB0_24:
	addl	%ebx, %r14d
	movl	%r14d, 20(%r12)
	movq	_current_function_outgoing_args_size@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r14d
	movl	%r14d, 16(%r12)
	testq	%rax, %rax
	je	LBB0_29
## %bb.25:
	testb	$7, %r14b
	je	LBB0_26
## %bb.27:
	addl	$4, %r14d
	movl	%r14d, 16(%r12)
	xorl	%edi, %edi
	testb	$7, %r14b
	sete	%dil
	jmp	LBB0_28
LBB0_4:
	movq	_regs_ever_live@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_call_used_regs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%eax
	cmpl	%ecx, %eax
	ja	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %eax
	cmpq	$0, (%rdx,%rax,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	8(%rbx), %edi
	cmpl	$0, (%rsi,%rax,4)
	cmovnel	%ebx, %edi
	movl	%edi, %ebx
	jmp	LBB0_7
LBB0_10:
	movq	_regs_ever_live@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_call_used_regs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%eax
	cmpl	%ecx, %eax
	ja	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %eax
	cmpq	$0, (%rdx,%rax,8)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	12(%rbx), %edi
	cmpl	$0, (%rsi,%rax,4)
	cmovnel	%ebx, %edi
	movl	%edi, %ebx
	jmp	LBB0_13
LBB0_26:
	movl	$1, %edi
LBB0_28:
	callq	_gcc_assert
LBB0_29:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cfun,8,3                       ## @cfun
	.comm	_reload_completed,8,3           ## @reload_completed
	.comm	_current_function_pretend_args_size,4,2 ## @current_function_pretend_args_size
	.comm	_frame_pointer_needed,8,3       ## @frame_pointer_needed
	.comm	_TARGET_ARM,8,3                 ## @TARGET_ARM
	.comm	_TARGET_REALLY_IWMMXT,8,3       ## @TARGET_REALLY_IWMMXT
	.comm	_FIRST_IWMMXT_REGNUM,4,2        ## @FIRST_IWMMXT_REGNUM
	.comm	_LAST_IWMMXT_REGNUM,4,2         ## @LAST_IWMMXT_REGNUM
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_FIRST_FPA_REGNUM,4,2           ## @FIRST_FPA_REGNUM
	.comm	_LAST_FPA_REGNUM,4,2            ## @LAST_FPA_REGNUM
	.comm	_TARGET_HARD_FLOAT,8,3          ## @TARGET_HARD_FLOAT
	.comm	_TARGET_VFP,8,3                 ## @TARGET_VFP
	.comm	_TARGET_BACKTRACE,8,3           ## @TARGET_BACKTRACE
	.comm	_CALLER_INTERWORKING_SLOT_SIZE,4,2 ## @CALLER_INTERWORKING_SLOT_SIZE
	.comm	_ARM_DOUBLEWORD_ALIGN,8,3       ## @ARM_DOUBLEWORD_ALIGN
	.comm	_current_function_outgoing_args_size,4,2 ## @current_function_outgoing_args_size
	.no_dead_strip	_arm_get_frame_offsets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_get_frame_offsets
_arm_get_frame_offsets:                 ; @arm_get_frame_offsets
	.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
Lloh0:
	adrp	x8, _cfun@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cfun@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _reload_completed@GOTPAGE
Lloh4:
	ldr	x8, [x8, _reload_completed@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbnz	x8, LBB0_23
; %bb.1:
	bl	_get_frame_size
	bl	_ROUND_UP_WORD
	mov	x20, x0
	bl	_leaf_function_p
	mov	x21, x0
Lloh6:
	adrp	x8, _current_function_pretend_args_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current_function_pretend_args_size@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _frame_pointer_needed@GOTPAGE
Lloh10:
	ldr	x9, [x9, _frame_pointer_needed@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	add	w9, w8, w9, lsl #2
	stp	w8, w9, [x19]
Lloh12:
	adrp	x8, _TARGET_ARM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TARGET_ARM@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.2:
	bl	_arm_compute_save_reg_mask
	bl	_bit_count
	lsl	w22, w0, #2
Lloh15:
	adrp	x8, _TARGET_REALLY_IWMMXT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TARGET_REALLY_IWMMXT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _FIRST_IWMMXT_REGNUM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FIRST_IWMMXT_REGNUM@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x8]
Lloh21:
	adrp	x8, _LAST_IWMMXT_REGNUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LAST_IWMMXT_REGNUM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w11, w8
	b.ls	LBB0_17
LBB0_4:
	bl	_arm_current_func_type
	bl	_IS_VOLATILE
	cbnz	w0, LBB0_9
; %bb.5:
Lloh24:
	adrp	x8, _FIRST_FPA_REGNUM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FIRST_FPA_REGNUM@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x8]
Lloh27:
	adrp	x8, _LAST_FPA_REGNUM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LAST_FPA_REGNUM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w11, w8
	b.ls	LBB0_24
LBB0_6:
Lloh30:
	adrp	x8, _TARGET_HARD_FLOAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TARGET_HARD_FLOAT@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _TARGET_VFP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TARGET_VFP@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_9
; %bb.7:
	bl	_arm_get_vfp_saved_size
	add	w22, w22, w0
	b	LBB0_9
LBB0_8:
	bl	_thumb_compute_save_reg_mask
	bl	_bit_count
	lsl	w8, w0, #2
Lloh36:
	adrp	x9, _TARGET_BACKTRACE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _TARGET_BACKTRACE@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	w10, w8, #16
	cmp	x9, #0
	csel	w22, w8, w10, eq
LBB0_9:
Lloh39:
	adrp	x8, _CALLER_INTERWORKING_SLOT_SIZE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CALLER_INTERWORKING_SLOT_SIZE@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh41:
	ldr	w8, [x8]
	add	w9, w9, w22
	add	w8, w8, w9
	stp	w9, w8, [x19, #8]
	cbz	w21, LBB0_12
; %bb.10:
	cbnz	x20, LBB0_12
; %bb.11:
	stp	w8, w8, [x19, #16]
	b	LBB0_23
LBB0_12:
Lloh42:
	adrp	x9, _ARM_DOUBLEWORD_ALIGN@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ARM_DOUBLEWORD_ALIGN@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	and	w10, w8, #0x7
	cmp	x9, #0
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_14
; %bb.13:
	add	w8, w8, #4
	str	w8, [x19, #12]
LBB0_14:
Lloh45:
	adrp	x10, _current_function_outgoing_args_size@GOTPAGE
Lloh46:
	ldr	x10, [x10, _current_function_outgoing_args_size@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	add	w11, w8, w20
	add	w8, w10, w11
	stp	w8, w11, [x19, #16]
	cbz	x9, LBB0_23
; %bb.15:
	tst	w8, #0x7
	b.eq	LBB0_21
; %bb.16:
	add	w8, w8, #4
	str	w8, [x19, #16]
	tst	w8, #0x7
	cset	w0, eq
	b	LBB0_22
LBB0_17:
Lloh48:
	adrp	x9, _regs_ever_live@GOTPAGE
Lloh49:
	ldr	x9, [x9, _regs_ever_live@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
Lloh51:
	adrp	x10, _call_used_regs@GOTPAGE
Lloh52:
	ldr	x10, [x10, _call_used_regs@GOTPAGEOFF]
Lloh53:
	ldr	x10, [x10]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w11, w11, #1
	cmp	w11, w8
	b.hi	LBB0_4
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, w11, uxtw #3]
	mov	w11, w11
	cbz	x12, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w12, [x10, x11, lsl #2]
	add	w13, w22, #8
	cmp	w12, #0
	csel	w22, w13, w22, eq
	b	LBB0_18
LBB0_21:
	mov	w0, #1
LBB0_22:
	bl	_gcc_assert
LBB0_23:
	mov	x0, 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
	ret
LBB0_24:
Lloh54:
	adrp	x9, _regs_ever_live@GOTPAGE
Lloh55:
	ldr	x9, [x9, _regs_ever_live@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
Lloh57:
	adrp	x10, _call_used_regs@GOTPAGE
Lloh58:
	ldr	x10, [x10, _call_used_regs@GOTPAGEOFF]
Lloh59:
	ldr	x10, [x10]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	w11, w11, #1
	cmp	w11, w8
	b.hi	LBB0_6
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, w11, uxtw #3]
	mov	w11, w11
	cbz	x12, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w12, [x10, x11, lsl #2]
	add	w13, w22, #12
	cmp	w12, #0
	csel	w22, w13, w22, eq
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_cfun,8,3                       ; @cfun
	.comm	_reload_completed,8,3           ; @reload_completed
	.comm	_current_function_pretend_args_size,4,2 ; @current_function_pretend_args_size
	.comm	_frame_pointer_needed,8,3       ; @frame_pointer_needed
	.comm	_TARGET_ARM,8,3                 ; @TARGET_ARM
	.comm	_TARGET_REALLY_IWMMXT,8,3       ; @TARGET_REALLY_IWMMXT
	.comm	_FIRST_IWMMXT_REGNUM,4,2        ; @FIRST_IWMMXT_REGNUM
	.comm	_LAST_IWMMXT_REGNUM,4,2         ; @LAST_IWMMXT_REGNUM
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_FIRST_FPA_REGNUM,4,2           ; @FIRST_FPA_REGNUM
	.comm	_LAST_FPA_REGNUM,4,2            ; @LAST_FPA_REGNUM
	.comm	_TARGET_HARD_FLOAT,8,3          ; @TARGET_HARD_FLOAT
	.comm	_TARGET_VFP,8,3                 ; @TARGET_VFP
	.comm	_TARGET_BACKTRACE,8,3           ; @TARGET_BACKTRACE
	.comm	_CALLER_INTERWORKING_SLOT_SIZE,4,2 ; @CALLER_INTERWORKING_SLOT_SIZE
	.comm	_ARM_DOUBLEWORD_ALIGN,8,3       ; @ARM_DOUBLEWORD_ALIGN
	.comm	_current_function_outgoing_args_size,4,2 ; @current_function_outgoing_args_size
	.no_dead_strip	_arm_get_frame_offsets
.subsections_via_symbols
