	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_stxcpy_chk        ## -- Begin function fold_builtin_stxcpy_chk
	.p2align	4, 0x90
_fold_builtin_stxcpy_chk:               ## @fold_builtin_stxcpy_chk
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_POINTER_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INTEGER_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_VOID_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_validate_arglist
	testl	%eax, %eax
	je	LBB0_27
## %bb.1:
	movq	%r12, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r13
	movq	_BUILT_IN_STRCPY_CHK@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rcx)
	jne	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_operand_equal_p
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r14, %rsi
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_convert                   ## TAILCALL
LBB0_5:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_27
## %bb.6:
	movq	%rbx, %r14
	movq	%r15, %rdi
	callq	_integer_all_onesp
	testl	%eax, %eax
	je	LBB0_7
LBB0_11:
	movq	_NULL_TREE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_build_tree_list
	movq	(%rbx), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_tree_cons
	movq	_built_in_decls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BUILT_IN_STPCPY_CHK@GOTPCREL(%rip), %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, (%rdx)
	jne	LBB0_12
## %bb.24:
	movq	_BUILT_IN_STPCPY@GOTPCREL(%rip), %rdx
	jmp	LBB0_25
LBB0_12:
	movq	_BUILT_IN_STRCPY@GOTPCREL(%rip), %rdx
LBB0_25:
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	movq	%rax, %rsi
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_function_call_expr       ## TAILCALL
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_c_strlen
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movq	%rbx, %r14
	jmp	LBB0_10
LBB0_13:
	movq	_NULL_TREE@GOTPCREL(%rip), %r13
	cmpq	%r14, (%r13)
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_15
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_tree_int_cst_lt
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_27
LBB0_15:
	movq	_BUILT_IN_STPCPY_CHK@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_20
## %bb.16:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_27
## %bb.17:
	movq	_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_STRCPY_CHK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.18:
	movq	%r12, %rsi
	jmp	LBB0_19
LBB0_20:
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.21:
	movq	%rbx, %rdi
	callq	_TREE_SIDE_EFFECTS
	testq	%rax, %rax
	je	LBB0_22
LBB0_27:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_MEMCPY_CHK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	testq	%r14, %r14
	je	LBB0_27
## %bb.23:
	movq	_PLUS_EXPR@GOTPCREL(%rip), %rax
	movq	%r15, %r12
	movl	(%rax), %r15d
	movl	$1, %edi
	callq	_ssize_int
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_size_binop
	movq	%rax, %r15
	movq	(%r13), %rdi
	movq	%r12, %rsi
	callq	_build_tree_list
	movq	(%r13), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tree_cons
	movq	(%r13), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_tree_cons
	movq	(%r13), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%rax, %r15
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_build_function_call_expr
	movq	%rbx, %rdi
	movq	%rax, %rsi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_POINTER_TYPE,4,2               ## @POINTER_TYPE
	.comm	_INTEGER_TYPE,4,2               ## @INTEGER_TYPE
	.comm	_VOID_TYPE,4,2                  ## @VOID_TYPE
	.comm	_BUILT_IN_STRCPY_CHK,4,2        ## @BUILT_IN_STRCPY_CHK
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_BUILT_IN_STPCPY_CHK,4,2        ## @BUILT_IN_STPCPY_CHK
	.comm	_built_in_decls,8,3             ## @built_in_decls
	.comm	_BUILT_IN_MEMCPY_CHK,8,3        ## @BUILT_IN_MEMCPY_CHK
	.comm	_PLUS_EXPR,4,2                  ## @PLUS_EXPR
	.comm	_BUILT_IN_STPCPY,8,3            ## @BUILT_IN_STPCPY
	.comm	_BUILT_IN_STRCPY,8,3            ## @BUILT_IN_STRCPY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_stxcpy_chk        ; -- Begin function fold_builtin_stxcpy_chk
	.p2align	2
_fold_builtin_stxcpy_chk:               ; @fold_builtin_stxcpy_chk
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _POINTER_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POINTER_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _INTEGER_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEGER_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _VOID_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VOID_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x2, x1
	bl	_validate_arglist
	cbz	w0, LBB0_21
; %bb.1:
	mov	x0, x23
	bl	_TREE_VALUE
	mov	x19, x0
	mov	x0, x23
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x21, x0
	mov	x0, x23
	bl	_TREE_CHAIN
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x26, x0
Lloh9:
	adrp	x28, _BUILT_IN_STRCPY_CHK@GOTPAGE
Lloh10:
	ldr	x28, [x28, _BUILT_IN_STRCPY_CHK@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_operand_equal_p
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x1, x19
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_fold_convert
LBB0_5:
	mov	x0, x26
	mov	w1, #1
	bl	_host_integerp
	cbz	w0, LBB0_21
; %bb.6:
	mov	x0, x26
	bl	_integer_all_onesp
	cbz	w0, LBB0_9
LBB0_7:
Lloh11:
	adrp	x20, _NULL_TREE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _NULL_TREE@GOTPAGEOFF]
	ldr	x0, [x20]
	mov	x1, x21
	bl	_build_tree_list
	mov	x2, x0
	ldr	x0, [x20]
	mov	x1, x19
	bl	_tree_cons
	mov	x1, x0
Lloh13:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh14:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _BUILT_IN_STPCPY_CHK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BUILT_IN_STPCPY_CHK@GOTPAGEOFF]
Lloh18:
	adrp	x10, _BUILT_IN_STPCPY@GOTPAGE
Lloh19:
	ldr	x10, [x10, _BUILT_IN_STPCPY@GOTPAGEOFF]
Lloh20:
	adrp	x11, _BUILT_IN_STRCPY@GOTPAGE
Lloh21:
	ldr	x11, [x11, _BUILT_IN_STRCPY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w9, w22
	csel	x9, x10, x11, eq
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_21
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_build_function_call_expr
LBB0_9:
	mov	x0, x21
	mov	w1, #1
	bl	_c_strlen
	mov	x27, x0
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x27
	mov	w1, #1
	bl	_host_integerp
	cbz	w0, LBB0_12
; %bb.11:
	mov	x25, x27
	b	LBB0_14
LBB0_12:
Lloh23:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x8, x25
	b.eq	LBB0_15
; %bb.13:
	mov	x0, x25
	mov	w1, #1
	bl	_host_integerp
	cbz	w0, LBB0_15
LBB0_14:
	mov	x0, x25
	mov	x1, x26
	bl	_tree_int_cst_lt
	cbnz	w0, LBB0_7
	b	LBB0_21
LBB0_15:
Lloh26:
	adrp	x8, _BUILT_IN_STPCPY_CHK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BUILT_IN_STPCPY_CHK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_19
; %bb.16:
	cbz	w24, LBB0_21
; %bb.17:
Lloh29:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh30:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldrsw	x9, [x28]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_21
; %bb.18:
	mov	x1, x23
	b	LBB0_8
LBB0_19:
	cbz	x27, LBB0_21
; %bb.20:
	mov	x0, x27
	bl	_TREE_SIDE_EFFECTS
	cbz	x0, LBB0_22
LBB0_21:
	mov	x0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh32:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh33:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _BUILT_IN_MEMCPY_CHK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _BUILT_IN_MEMCPY_CHK@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldr	x22, [x8, x9, lsl #3]
	cbz	x22, LBB0_21
; %bb.23:
Lloh38:
	adrp	x8, _PLUS_EXPR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PLUS_EXPR@GOTPAGEOFF]
Lloh40:
	ldr	w23, [x8]
	mov	w0, #1
	bl	_ssize_int
	mov	x2, x0
	mov	x0, x23
	mov	x1, x27
	bl	_size_binop
	mov	x23, x0
Lloh41:
	adrp	x24, _NULL_TREE@GOTPAGE
Lloh42:
	ldr	x24, [x24, _NULL_TREE@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	x1, x26
	bl	_build_tree_list
	mov	x2, x0
	ldr	x0, [x24]
	mov	x1, x23
	bl	_tree_cons
	mov	x2, x0
	ldr	x0, [x24]
	mov	x1, x21
	bl	_tree_cons
	mov	x2, x0
	ldr	x0, [x24]
	mov	x1, x19
	bl	_tree_cons
	mov	x19, x0
	mov	x0, x20
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x20, x0
	mov	x0, x22
	mov	x1, x19
	bl	_build_function_call_expr
	mov	x1, x0
	mov	x0, x20
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh22
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_POINTER_TYPE,4,2               ; @POINTER_TYPE
	.comm	_INTEGER_TYPE,4,2               ; @INTEGER_TYPE
	.comm	_VOID_TYPE,4,2                  ; @VOID_TYPE
	.comm	_BUILT_IN_STRCPY_CHK,4,2        ; @BUILT_IN_STRCPY_CHK
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_BUILT_IN_STPCPY_CHK,4,2        ; @BUILT_IN_STPCPY_CHK
	.comm	_built_in_decls,8,3             ; @built_in_decls
	.comm	_BUILT_IN_MEMCPY_CHK,8,3        ; @BUILT_IN_MEMCPY_CHK
	.comm	_PLUS_EXPR,4,2                  ; @PLUS_EXPR
	.comm	_BUILT_IN_STPCPY,8,3            ; @BUILT_IN_STPCPY
	.comm	_BUILT_IN_STRCPY,8,3            ; @BUILT_IN_STRCPY
.subsections_via_symbols
