	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_strncpy_chk       ## -- Begin function fold_builtin_strncpy_chk
	.p2align	4, 0x90
_fold_builtin_strncpy_chk:              ## @fold_builtin_strncpy_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movl	%edi, %ebx
	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), %r9d
	movl	%edx, %esi
	movl	%ecx, %r8d
	callq	_validate_arglist
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	%ebx, %edi
	callq	_TREE_VALUE
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_CHAIN
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movl	%ebx, %edi
	callq	_integer_all_onesp
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	movq	_NULL_TREE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r13d, %esi
	callq	_build_tree_list
	movl	(%rbx), %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_tree_cons
	movl	(%rbx), %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_tree_cons
	movq	_built_in_decls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BUILT_IN_STRNCPY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.9:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_function_call_expr       ## TAILCALL
LBB0_3:
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_host_integerp
	movl	%r13d, %esi
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movl	%ebx, %edi
	callq	_tree_int_cst_lt
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_7
LBB0_4:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_8
## %bb.5:
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_host_integerp
	movl	%r12d, %esi
	testl	%eax, %eax
	jne	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_built_in_decls,8,3             ## @built_in_decls
	.comm	_BUILT_IN_STRNCPY,8,3           ## @BUILT_IN_STRNCPY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_strncpy_chk       ; -- Begin function fold_builtin_strncpy_chk
	.p2align	2
_fold_builtin_strncpy_chk:              ; @fold_builtin_strncpy_chk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x23, 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	w5, [x8]
	mov	x2, x1
	mov	x4, x3
	bl	_validate_arglist
	cbz	w0, LBB0_9
; %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	x22, x0
	mov	x0, x23
	bl	_TREE_CHAIN
	bl	_TREE_CHAIN
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x23, x0
	mov	w1, #1
	bl	_host_integerp
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x23
	bl	_integer_all_onesp
	cbz	w0, LBB0_5
LBB0_3:
Lloh9:
	adrp	x20, _NULL_TREE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NULL_TREE@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x22
	bl	_build_tree_list
	mov	x2, x0
	ldr	w0, [x20]
	mov	x1, x21
	bl	_tree_cons
	mov	x2, x0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_tree_cons
	mov	x1, x0
Lloh11:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh12:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _BUILT_IN_STRNCPY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BUILT_IN_STRNCPY@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_9
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_build_function_call_expr
LBB0_5:
	mov	x0, x22
	mov	w1, #1
	bl	_host_integerp
	mov	x1, x22
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x23
	bl	_tree_int_cst_lt
	cbnz	x0, LBB0_9
	b	LBB0_3
LBB0_7:
Lloh17:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #1
	bl	_host_integerp
	mov	x1, x20
	cbnz	w0, LBB0_6
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_built_in_decls,8,3             ; @built_in_decls
	.comm	_BUILT_IN_STRNCPY,8,3           ; @BUILT_IN_STRNCPY
.subsections_via_symbols
