	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_snprintf_chk      ## -- Begin function fold_builtin_snprintf_chk
	.p2align	4, 0x90
_fold_builtin_snprintf_chk:             ## @fold_builtin_snprintf_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	je	LBB0_25
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r13d
	movl	%edi, %ebx
	callq	_TREE_VALUE
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_25
## %bb.2:
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	testl	%eax, %eax
	je	LBB0_25
## %bb.3:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_INTEGER_TYPE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_25
## %bb.4:
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	testl	%eax, %eax
	je	LBB0_25
## %bb.5:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	jne	LBB0_25
## %bb.6:
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	testl	%eax, %eax
	je	LBB0_25
## %bb.7:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpq	(%r15), %rax
	jne	LBB0_25
## %bb.8:
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	testl	%eax, %eax
	je	LBB0_25
## %bb.9:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_VALUE
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_25
## %bb.10:
	movl	%ebx, %edi
	callq	_TREE_CHAIN
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_25
## %bb.11:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_integer_all_onesp
	testl	%eax, %eax
	je	LBB0_12
LBB0_16:
	xorl	%eax, %eax
	callq	_init_target_chars
	testl	%eax, %eax
	je	LBB0_25
## %bb.17:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_integer_zerop
	testl	%eax, %eax
	je	LBB0_18
LBB0_21:
	movq	_NULL_TREE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r15d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_tree_cons
	movl	(%rbx), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_tree_cons
	movl	(%rbx), %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_tree_cons
	movq	_built_in_decls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BUILT_IN_VSNPRINTF_CHK@GOTPCREL(%rip), %rdx
	cmpl	%r14d, (%rdx)
	jne	LBB0_22
## %bb.23:
	movq	_BUILT_IN_VSNPRINTF@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_12:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_13
LBB0_15:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_tree_int_cst_lt
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_16
LBB0_18:
	movl	%r15d, %edi
	callq	_c_getstr
	testq	%rax, %rax
	je	LBB0_25
## %bb.19:
	movq	%rax, %rbx
	movq	_target_percent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_target_percent_s@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_21
LBB0_22:
	movq	_BUILT_IN_SNPRINTF@GOTPCREL(%rip), %rdx
LBB0_24:
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	testl	%edi, %edi
	je	LBB0_25
## %bb.26:
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_function_call_expr       ## TAILCALL
LBB0_13:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_25
## %bb.14:
	movl	%r13d, %edi
	movl	$1, %esi
	callq	_host_integerp
	movl	%r13d, %ebx
	testl	%eax, %eax
	jne	LBB0_15
LBB0_25:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEGER_TYPE,8,3               ## @INTEGER_TYPE
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_target_percent,4,2             ## @target_percent
	.comm	_target_percent_s,4,2           ## @target_percent_s
	.comm	_built_in_decls,8,3             ## @built_in_decls
	.comm	_BUILT_IN_VSNPRINTF_CHK,4,2     ## @BUILT_IN_VSNPRINTF_CHK
	.comm	_BUILT_IN_VSNPRINTF,8,3         ## @BUILT_IN_VSNPRINTF
	.comm	_BUILT_IN_SNPRINTF,8,3          ## @BUILT_IN_SNPRINTF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fold_builtin_snprintf_chk      ; -- Begin function fold_builtin_snprintf_chk
	.p2align	2
_fold_builtin_snprintf_chk:             ; @fold_builtin_snprintf_chk
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	w0, LBB0_23
; %bb.1:
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	bl	_TREE_VALUE
	mov	x20, x0
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_23
; %bb.2:
	mov	x0, x21
	bl	_TREE_CHAIN
	cbz	w0, LBB0_23
; %bb.3:
	mov	x23, x0
	bl	_TREE_VALUE
	mov	x21, x0
	bl	_TREE_TYPE
	bl	_TREE_CODE
Lloh0:
	adrp	x25, _INTEGER_TYPE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INTEGER_TYPE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.4:
	mov	x0, x23
	bl	_TREE_CHAIN
	cbz	w0, LBB0_23
; %bb.5:
	mov	x24, x0
	bl	_TREE_VALUE
	mov	x23, x0
	mov	x0, x21
	bl	_TREE_TYPE
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.6:
	mov	x0, x24
	bl	_TREE_CHAIN
	cbz	w0, LBB0_23
; %bb.7:
	mov	x24, x0
	bl	_TREE_VALUE
	mov	x26, x0
	bl	_TREE_TYPE
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.8:
	mov	x0, x24
	bl	_TREE_CHAIN
	cbz	w0, LBB0_23
; %bb.9:
	mov	x25, x0
	bl	_TREE_VALUE
	mov	x24, x0
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_23
; %bb.10:
	mov	x0, x25
	bl	_TREE_CHAIN
	mov	x25, x0
	mov	x0, x26
	mov	w1, #1
	bl	_host_integerp
	cbz	w0, LBB0_23
; %bb.11:
	mov	x0, x26
	bl	_integer_all_onesp
	cbz	w0, LBB0_16
LBB0_12:
	bl	_init_target_chars
	cbz	w0, LBB0_23
; %bb.13:
	mov	x0, x23
	bl	_integer_zerop
	cbz	w0, LBB0_18
LBB0_14:
Lloh2:
	adrp	x22, _NULL_TREE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NULL_TREE@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x24
	mov	x2, x25
	bl	_tree_cons
	mov	x2, x0
	ldr	w0, [x22]
	mov	x1, x21
	bl	_tree_cons
	mov	x2, x0
	ldr	w0, [x22]
	mov	x1, x20
	bl	_tree_cons
	mov	x1, x0
Lloh4:
	adrp	x8, _built_in_decls@GOTPAGE
Lloh5:
	ldr	x8, [x8, _built_in_decls@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _BUILT_IN_VSNPRINTF_CHK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BUILT_IN_VSNPRINTF_CHK@GOTPAGEOFF]
Lloh9:
	adrp	x10, _BUILT_IN_VSNPRINTF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BUILT_IN_VSNPRINTF@GOTPAGEOFF]
Lloh11:
	adrp	x11, _BUILT_IN_SNPRINTF@GOTPAGE
Lloh12:
	ldr	x11, [x11, _BUILT_IN_SNPRINTF@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w9, w19
	csel	x9, x10, x11, eq
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_23
; %bb.15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_build_function_call_expr
LBB0_16:
	mov	x0, x21
	mov	w1, #1
	bl	_host_integerp
	mov	x1, x21
	cbz	w0, LBB0_21
LBB0_17:
	mov	x0, x26
	bl	_tree_int_cst_lt
	cbnz	x0, LBB0_23
	b	LBB0_12
LBB0_18:
	mov	x0, x24
	bl	_c_getstr
	cbz	x0, LBB0_23
; %bb.19:
	mov	x22, x0
Lloh14:
	adrp	x8, _target_percent@GOTPAGE
Lloh15:
	ldr	x8, [x8, _target_percent@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.20:
Lloh17:
	adrp	x8, _target_percent_s@GOTPAGE
Lloh18:
	ldr	x8, [x8, _target_percent_s@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_23
	b	LBB0_14
LBB0_21:
Lloh20:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_23
; %bb.22:
	mov	x0, x22
	mov	w1, #1
	bl	_host_integerp
	mov	x1, x22
	cbnz	w0, LBB0_17
LBB0_23:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh13
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEGER_TYPE,8,3               ; @INTEGER_TYPE
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_target_percent,4,2             ; @target_percent
	.comm	_target_percent_s,4,2           ; @target_percent_s
	.comm	_built_in_decls,8,3             ; @built_in_decls
	.comm	_BUILT_IN_VSNPRINTF_CHK,4,2     ; @BUILT_IN_VSNPRINTF_CHK
	.comm	_BUILT_IN_VSNPRINTF,8,3         ; @BUILT_IN_VSNPRINTF
	.comm	_BUILT_IN_SNPRINTF,8,3          ; @BUILT_IN_SNPRINTF
.subsections_via_symbols
