	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fold_builtin_sprintf
_fold_builtin_sprintf:                  ## @fold_builtin_sprintf
	.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
	movq	%rdi, %rbx
	movq	_POINTER_TYPE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_VOID_TYPE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_validate_arglist
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r14), %ecx
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movl	%ecx, %esi
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_validate_arglist
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_c_getstr
	movq	%rax, %rbx
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.4:
	xorl	%eax, %eax
	callq	_init_target_chars
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_target_percent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	movq	_target_percent_s@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r12, %r15
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	testq	%r12, %r12
	je	LBB0_22
## %bb.24:
	movq	_implicit_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_SPRINTF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_fold_convert
	movq	%rax, %rbx
	movq	_COMPOUND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build2                         ## TAILCALL
LBB0_5:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_7:
	movq	_implicit_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_STRCPY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.8:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%r13, %r13
	je	LBB0_10
## %bb.9:
	movq	%rdi, %r12
	jmp	LBB0_23
LBB0_22:
	movq	%r15, %r12
	jmp	LBB0_23
LBB0_14:
	movq	_implicit_built_in_decls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BUILT_IN_STRCPY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.15:
	testq	%r13, %r13
	je	LBB0_2
## %bb.16:
	movq	%r13, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r13
	movq	_NULL_TREE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	%rax, %rsi
	callq	_build_tree_list
	movq	(%r14), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%rax, %r14
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
LBB0_19:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_build_function_call_expr
	movq	%rax, %r15
	jmp	LBB0_20
LBB0_10:
	movq	%r14, %rsi
	movq	%rax, %r14
	movq	%rcx, %r13
	callq	_build_tree_list
	movq	(%r14), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_build_function_call_expr
	movq	%rax, %r15
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.11:
	movq	(%r14), %r14
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_build_int_cst
	movq	%rax, %r12
	jmp	LBB0_20
LBB0_17:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_c_strlen
	testq	%rax, %rax
	je	LBB0_2
## %bb.18:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
LBB0_2:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_23:
	movq	%r12, %rax
	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	_VOID_TYPE,4,2                  ## @VOID_TYPE
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_target_percent,4,2             ## @target_percent
	.comm	_implicit_built_in_decls,8,3    ## @implicit_built_in_decls
	.comm	_BUILT_IN_STRCPY,8,3            ## @BUILT_IN_STRCPY
	.comm	_target_percent_s,4,2           ## @target_percent_s
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_BUILT_IN_SPRINTF,8,3           ## @BUILT_IN_SPRINTF
	.comm	_COMPOUND_EXPR,4,2              ## @COMPOUND_EXPR
	.no_dead_strip	_fold_builtin_sprintf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fold_builtin_sprintf
_fold_builtin_sprintf:                  ; @fold_builtin_sprintf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _POINTER_TYPE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _POINTER_TYPE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _VOID_TYPE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VOID_TYPE@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x2, x1
	bl	_validate_arglist
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x21]
	ldr	w8, [x22]
	str	x8, [sp]
	mov	x0, x19
	mov	x2, x1
	mov	x3, x1
	bl	_validate_arglist
	cbz	w0, LBB0_11
LBB0_2:
	mov	x0, x19
	bl	_TREE_VALUE
	mov	x21, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	bl	_TREE_VALUE
	mov	x24, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	bl	_TREE_CHAIN
	mov	x23, x0
	mov	x0, x24
	bl	_c_getstr
Lloh4:
	adrp	x26, _NULL_TREE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _NULL_TREE@GOTPAGEOFF]
	ldr	x19, [x26]
	cbz	x0, LBB0_25
; %bb.3:
	mov	x22, x0
	bl	_init_target_chars
	cbz	w0, LBB0_10
; %bb.4:
Lloh6:
	adrp	x8, _target_percent@GOTPAGE
Lloh7:
	ldr	x8, [x8, _target_percent@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.5:
Lloh9:
	adrp	x8, _target_percent_s@GOTPAGE
Lloh10:
	ldr	x8, [x8, _target_percent_s@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.6:
	mov	x21, x19
LBB0_7:
	cbz	x21, LBB0_15
; %bb.8:
	cbz	x19, LBB0_15
; %bb.9:
Lloh12:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh13:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _BUILT_IN_SPRINTF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BUILT_IN_SPRINTF@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_TREE_TYPE
	bl	_TREE_TYPE
	mov	x1, x19
	bl	_fold_convert
	mov	x19, x0
Lloh18:
	adrp	x8, _COMPOUND_EXPR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _COMPOUND_EXPR@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	bl	_TREE_TYPE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	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
	add	sp, sp, #96
	b	_build2
LBB0_10:
	mov	x19, #0
	b	LBB0_25
LBB0_11:
Lloh21:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh23:
	ldr	x19, [x8]
	b	LBB0_25
LBB0_12:
Lloh24:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh25:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _BUILT_IN_STRCPY@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BUILT_IN_STRCPY@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x25, [x8, x9, lsl #3]
	cbz	x25, LBB0_24
; %bb.13:
	ldr	x0, [x26]
	cbz	x23, LBB0_20
; %bb.14:
	mov	x19, x0
	b	LBB0_25
LBB0_15:
	mov	x19, x21
	b	LBB0_25
LBB0_16:
Lloh30:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh31:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _BUILT_IN_STRCPY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BUILT_IN_STRCPY@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	x22, [x8, x9, lsl #3]
	cbz	x22, LBB0_24
; %bb.17:
	cbz	x23, LBB0_24
; %bb.18:
	mov	x0, x23
	bl	_TREE_VALUE
	mov	x23, x0
	ldr	x0, [x26]
	mov	x1, x23
	bl	_build_tree_list
	mov	x2, x0
	ldr	x0, [x26]
	mov	x1, x21
	bl	_tree_cons
	mov	x21, x0
	cbz	w20, LBB0_22
LBB0_19:
	mov	x0, x22
	mov	x1, x21
	bl	_build_function_call_expr
	mov	x21, x0
	b	LBB0_7
LBB0_20:
	mov	x1, x24
	bl	_build_tree_list
	mov	x2, x0
	ldr	x0, [x26]
	mov	x1, x21
	bl	_tree_cons
	mov	x1, x0
	mov	x0, x25
	bl	_build_function_call_expr
	mov	x21, x0
	cbnz	w20, LBB0_7
; %bb.21:
	ldr	x19, [x26]
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_build_int_cst
	mov	x19, x0
	b	LBB0_7
LBB0_22:
	mov	x0, x23
	mov	w1, #1
	bl	_c_strlen
	cbz	x0, LBB0_24
; %bb.23:
	mov	x19, x0
	bl	_TREE_CODE
Lloh36:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_19
LBB0_24:
	ldr	x19, [x26]
LBB0_25:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_POINTER_TYPE,4,2               ; @POINTER_TYPE
	.comm	_VOID_TYPE,4,2                  ; @VOID_TYPE
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_target_percent,4,2             ; @target_percent
	.comm	_implicit_built_in_decls,8,3    ; @implicit_built_in_decls
	.comm	_BUILT_IN_STRCPY,8,3            ; @BUILT_IN_STRCPY
	.comm	_target_percent_s,4,2           ; @target_percent_s
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_BUILT_IN_SPRINTF,8,3           ; @BUILT_IN_SPRINTF
	.comm	_COMPOUND_EXPR,4,2              ; @COMPOUND_EXPR
	.no_dead_strip	_fold_builtin_sprintf
.subsections_via_symbols
