	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_builtin_frame_address
_expand_builtin_frame_address:          ## @expand_builtin_frame_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_TREE_VALUE
	movl	%eax, %edi
	movl	$1, %esi
	callq	_host_integerp
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_DECL_FUNCTION_CODE
	movq	%rax, %r15
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tree_low_cst
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_expand_builtin_return_addr
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_DECL_FUNCTION_CODE
	movq	_BUILT_IN_FRAME_ADDRESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	cmpq	%rcx, %rax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_REG_P
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_CONSTANT_P
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_copy_to_mode_reg               ## TAILCALL
LBB0_3:
	movq	_BUILT_IN_FRAME_ADDRESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_error
	jmp	LBB0_1
LBB0_5:
	cmpq	%rcx, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	xorl	%edi, %edi
	callq	_warning
LBB0_1:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_BUILT_IN_FRAME_ADDRESS,8,3     ## @BUILT_IN_FRAME_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid argument to %<__builtin_frame_address%>"

L_.str.1:                               ## @.str.1
	.asciz	"invalid argument to %<__builtin_return_address%>"

L_.str.2:                               ## @.str.2
	.asciz	"unsupported argument to %<__builtin_frame_address%>"

L_.str.3:                               ## @.str.3
	.asciz	"unsupported argument to %<__builtin_return_address%>"

	.comm	_Pmode,4,2                      ## @Pmode
	.no_dead_strip	_expand_builtin_frame_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_builtin_frame_address
_expand_builtin_frame_address:          ; @expand_builtin_frame_address
	.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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_TREE_VALUE
	mov	w1, #1
	bl	_host_integerp
	mov	x22, x0
	mov	x0, x20
	bl	_DECL_FUNCTION_CODE
	mov	x21, x0
	cbz	w22, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_TREE_VALUE
	mov	w1, #1
	bl	_tree_low_cst
	mov	x1, x0
	mov	x0, x21
	bl	_expand_builtin_return_addr
	mov	x19, x0
	mov	x0, x20
	bl	_DECL_FUNCTION_CODE
Lloh0:
	adrp	x8, _BUILT_IN_FRAME_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUILT_IN_FRAME_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x19, LBB0_8
; %bb.3:
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_REG_P
	cbnz	w0, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_CONSTANT_P
	cbnz	w0, LBB0_10
; %bb.6:
Lloh3:
	adrp	x8, _Pmode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Pmode@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, 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	_copy_to_mode_reg
LBB0_7:
Lloh6:
	adrp	x8, _BUILT_IN_FRAME_ADDRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BUILT_IN_FRAME_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh11:
	adrp	x10, l_.str@PAGE
Lloh12:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x21, x8
	csel	x0, x10, x9, eq
	bl	_error
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x9, l_.str.3@PAGE
Lloh14:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh15:
	adrp	x10, l_.str.2@PAGE
Lloh16:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x0, x8
	csel	x1, x10, x9, eq
	mov	w0, #0
	bl	_warning
LBB0_9:
Lloh17:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh18:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh19:
	ldr	x19, [x8]
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_BUILT_IN_FRAME_ADDRESS,8,3     ; @BUILT_IN_FRAME_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid argument to %<__builtin_frame_address%>"

l_.str.1:                               ; @.str.1
	.asciz	"invalid argument to %<__builtin_return_address%>"

l_.str.2:                               ; @.str.2
	.asciz	"unsupported argument to %<__builtin_frame_address%>"

l_.str.3:                               ; @.str.3
	.asciz	"unsupported argument to %<__builtin_return_address%>"

	.comm	_Pmode,4,2                      ; @Pmode
	.no_dead_strip	_expand_builtin_frame_address
.subsections_via_symbols
