	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_builtin_sprintf
_expand_builtin_sprintf:                ## @expand_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_TREE_VALUE
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r14
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_TREE_CHAIN
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_c_getstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r14
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_init_target_chars
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	_target_percent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_target_percent_s@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_8:
	xorl	%r13d, %r13d
LBB0_9:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%r13d, %r13d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.11:
	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), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.12:
	movq	%rbx, %rsi
	callq	_build_function_call_expr
	movq	_const0_rtx@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_EXPAND_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	callq	_expand_expr
	cmpq	%r15, (%rbx)
	jne	LBB0_20
LBB0_13:
	movq	%r15, %r13
	jmp	LBB0_9
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), %r14
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_9
## %bb.15:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.16:
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	testq	%rax, %rax
	jne	LBB0_8
## %bb.17:
	movq	%rbx, %rdi
	callq	_TREE_VALUE
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_8
## %bb.18:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_22
## %bb.19:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, %rbx
	jmp	LBB0_25
LBB0_20:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_build_int_cst
	movq	%rax, %rbx
LBB0_21:
	movq	_EXPAND_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expand_expr                    ## TAILCALL
LBB0_22:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_c_strlen
	testq	%rax, %rax
	je	LBB0_8
## %bb.23:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.24:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_25:
	movq	%r13, %rsi
	callq	_build_tree_list
	movq	_NULL_TREE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_tree_cons
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_build_function_call_expr
	movq	_const0_rtx@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_VOIDmode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_EXPAND_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	callq	_expand_expr
	cmpq	%r15, (%r14)
	je	LBB0_13
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.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	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_EXPAND_NORMAL,4,2              ## @EXPAND_NORMAL
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_target_percent_s,4,2           ## @target_percent_s
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.no_dead_strip	_expand_builtin_sprintf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_builtin_sprintf
_expand_builtin_sprintf:                ; @expand_builtin_sprintf
	.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	x0, LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_TREE_VALUE
	mov	x21, x0
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x22
	bl	_TREE_CHAIN
	cbz	x0, LBB0_9
; %bb.3:
	mov	x23, x0
	bl	_TREE_VALUE
	mov	x25, x0
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x23
	bl	_TREE_CHAIN
	mov	x24, x0
	mov	x0, x25
	bl	_c_getstr
	cbz	x0, LBB0_9
; %bb.5:
	mov	x23, x0
	bl	_init_target_chars
	cbz	w0, LBB0_8
; %bb.6:
Lloh0:
	adrp	x8, _target_percent@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_percent@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.7:
Lloh3:
	adrp	x8, _target_percent_s@GOTPAGE
Lloh4:
	ldr	x8, [x8, _target_percent_s@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	x0, LBB0_14
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
LBB0_10:
	cbnz	x24, LBB0_9
; %bb.11:
Lloh6:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh7:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _BUILT_IN_STRCPY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BUILT_IN_STRCPY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_9
; %bb.12:
	mov	x0, x8
	mov	x1, x22
	bl	_build_function_call_expr
Lloh12:
	adrp	x21, _const0_rtx@GOTPAGE
Lloh13:
	ldr	x21, [x21, _const0_rtx@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh14:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _EXPAND_NORMAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXPAND_NORMAL@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	bl	_expand_expr
	ldr	x8, [x21]
	cmp	x8, x19
	b.ne	LBB0_20
LBB0_13:
	mov	x0, x19
	b	LBB0_9
LBB0_14:
Lloh20:
	adrp	x8, _implicit_built_in_decls@GOTPAGE
Lloh21:
	ldr	x8, [x8, _implicit_built_in_decls@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _BUILT_IN_STRCPY@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BUILT_IN_STRCPY@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	ldr	x22, [x8, x9, lsl #3]
	cbz	x22, LBB0_9
; %bb.15:
	cbz	x24, LBB0_9
; %bb.16:
	mov	x0, x24
	bl	_TREE_CHAIN
	cbnz	x0, LBB0_8
; %bb.17:
	mov	x0, x24
	bl	_TREE_VALUE
	mov	x24, x0
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_8
; %bb.18:
Lloh26:
	adrp	x25, _const0_rtx@GOTPAGE
Lloh27:
	ldr	x25, [x25, _const0_rtx@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x19
	b.ne	LBB0_22
; %bb.19:
Lloh28:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh30:
	ldr	x0, [x8]
	mov	x23, x0
	b	LBB0_25
LBB0_20:
Lloh31:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh33:
	ldr	x21, [x8]
	mov	x0, x23
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_build_int_cst
	mov	x23, x0
LBB0_21:
Lloh34:
	adrp	x8, _EXPAND_NORMAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EXPAND_NORMAL@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	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	_expand_expr
LBB0_22:
	mov	x0, x24
	mov	w1, #1
	bl	_c_strlen
	cbz	x0, LBB0_9
; %bb.23:
	mov	x23, x0
	bl	_TREE_CODE
Lloh37:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh38:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.24:
Lloh40:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh42:
	ldr	x0, [x8]
LBB0_25:
	mov	x1, x24
	bl	_build_tree_list
	mov	x2, x0
Lloh43:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh45:
	ldr	x0, [x8]
	mov	x1, x21
	bl	_tree_cons
	mov	x1, x0
	mov	x0, x22
	bl	_build_function_call_expr
	ldr	x1, [x25]
Lloh46:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh47:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x8, _EXPAND_NORMAL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EXPAND_NORMAL@GOTPAGEOFF]
Lloh51:
	ldr	w3, [x8]
	bl	_expand_expr
	ldr	x8, [x25]
	cmp	x8, x19
	b.eq	LBB0_13
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.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	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_EXPAND_NORMAL,4,2              ; @EXPAND_NORMAL
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_target_percent_s,4,2           ; @target_percent_s
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.no_dead_strip	_expand_builtin_sprintf
.subsections_via_symbols
