	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_strncpy           ## -- Begin function fold_builtin_strncpy
	.p2align	4, 0x90
_fold_builtin_strncpy:                  ## @fold_builtin_strncpy
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%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_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_integer_zerop
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_omit_one_operand               ## TAILCALL
LBB0_2:
	testq	%r12, %r12
	je	LBB0_9
## %bb.3:
	movq	%r12, %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_9
## %bb.4:
	testq	%r15, %r15
	jne	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_c_strlen
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_TREE_CODE
	cmpq	(%r14), %rax
	jne	LBB0_9
## %bb.7:
	movq	_PLUS_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$1, %edi
	callq	_ssize_int
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_size_binop
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_tree_int_cst_lt
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_implicit_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_MEMCPY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_build_function_call_expr
	movq	%r15, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fold_convert                   ## TAILCALL
	.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	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_PLUS_EXPR,4,2                  ## @PLUS_EXPR
	.comm	_implicit_built_in_decls,8,3    ## @implicit_built_in_decls
	.comm	_BUILT_IN_MEMCPY,8,3            ## @BUILT_IN_MEMCPY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_strncpy           ; -- Begin function fold_builtin_strncpy
	.p2align	2
_fold_builtin_strncpy:                  ; @fold_builtin_strncpy
	.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	x21, x2
	mov	x19, 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, x19
	mov	x2, x1
	bl	_validate_arglist
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_TREE_VALUE
	mov	x24, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x23, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x22, x0
	bl	_integer_zerop
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x1, x24
	mov	x2, x23
	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	_omit_one_operand
LBB0_3:
	cbz	x22, LBB0_9
; %bb.4:
	mov	x0, x22
	bl	_TREE_CODE
Lloh9:
	adrp	x24, _INTEGER_CST@GOTPAGE
Lloh10:
	ldr	x24, [x24, _INTEGER_CST@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	cbnz	x21, LBB0_7
; %bb.6:
	mov	x0, x23
	mov	w1, #1
	bl	_c_strlen
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_TREE_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, _PLUS_EXPR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLUS_EXPR@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	w0, #1
	bl	_ssize_int
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	bl	_size_binop
	mov	x1, x22
	bl	_tree_int_cst_lt
	cbz	x0, LBB0_10
LBB0_9:
	mov	x0, #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
LBB0_10:
Lloh14:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh15:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _BUILT_IN_MEMCPY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BUILT_IN_MEMCPY@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x21, [x8, x9, lsl #3]
	cbz	x21, LBB0_9
; %bb.11:
	mov	x0, x20
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_build_function_call_expr
	mov	x1, x0
	mov	x0, x20
	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	_fold_convert
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_PLUS_EXPR,4,2                  ; @PLUS_EXPR
	.comm	_implicit_built_in_decls,8,3    ; @implicit_built_in_decls
	.comm	_BUILT_IN_MEMCPY,8,3            ; @BUILT_IN_MEMCPY
.subsections_via_symbols
