	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printf_doformat
_printf_doformat:                       ## @printf_doformat
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%rsp, %r13
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movw	$37, (%r15)
	incq	%r12
	movq	_digits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strspn
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	cmpb	$36, (%r12,%rbx)
	jne	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	callq	_atoi
                                        ## kill: def $eax killed $eax def $rax
	movq	_myargc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rax), %edx
	cmpl	%ecx, %eax
	movq	_myargv@GOTPCREL(%rip), %rax
	cmovgl	%ecx, %edx
	movslq	%edx, %rdx
	shlq	$3, %rdx
	addq	(%rax), %rdx
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_maxargv@GOTPCREL(%rip), %rax
	movq	%rdx, %rcx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	(%rax), %rdx
	jbe	LBB0_4
## %bb.3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_4:
	addq	%rbx, %r12
	incq	%r12
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_6:
	movb	(%r12), %al
	testb	%al, %al
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.7:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	leaq	_printf_doformat.skip1(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%r12,%r13), %eax
	movb	%al, 1(%r15,%r13)
	movb	$0, 2(%r15,%r13)
	movzbl	1(%r12,%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_8
## %bb.10:
	addq	%r13, %r12
	leaq	(%r15,%r13), %rbx
	incq	%rbx
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_11:
	movq	%r15, %rbx
	incq	%rbx
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_12:
	movb	(%r12,%r13), %al
	cmpb	$42, %al
	jne	LBB0_17
## %bb.13:
	leaq	(%r12,%r13), %r14
	incq	%r14
	movq	_digits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strspn
	testl	%eax, %eax
	jle	LBB0_33
## %bb.14:
	movl	%eax, %ebx
	leaq	(%r12,%rbx), %rax
	cmpb	$36, 1(%r13,%rax)
	jne	LBB0_33
## %bb.15:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_34
## %bb.16:
	movq	%r14, %rdi
	callq	_atoi
                                        ## kill: def $eax killed $eax def $rax
	movq	_myargc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rax), %edx
	cmpl	%ecx, %eax
	movq	_myargv@GOTPCREL(%rip), %rax
	cmovgl	%ecx, %edx
	movslq	%edx, %rcx
	shlq	$3, %rcx
	addq	(%rax), %rcx
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	addq	%r12, %rbx
	leaq	(%rbx,%r13), %r14
	addq	$2, %r14
	jmp	LBB0_70
LBB0_17:
	addq	%r13, %r12
	leaq	(%r15,%r13), %rbx
	incq	%rbx
LBB0_18:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_19:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movsbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r12), %r14
	movzbl	(%r12), %eax
	leaq	1(%rbx), %r15
	movb	%al, (%rbx)
	movb	$0, 1(%rbx)
	movsbl	1(%r12), %edi
	callq	_isdigit
	movq	%r14, %r12
	movq	%r15, %rbx
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_22
LBB0_21:
	movq	%rbx, %r15
	movq	%r12, %r14
LBB0_22:
	movb	(%r14), %r12b
	cmpb	$46, %r12b
	jne	LBB0_41
## %bb.23:
	movb	$46, (%r15)
	movb	1(%r14), %al
	cmpb	$42, %al
	jne	LBB0_28
## %bb.24:
	addq	$2, %r14
	movq	_digits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strspn
	testl	%eax, %eax
	jle	LBB0_31
## %bb.25:
	movl	%eax, %ebx
	cmpb	$36, (%r14,%rbx)
	jne	LBB0_31
## %bb.26:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_32
## %bb.27:
	movq	%r14, %rdi
	callq	_atoi
                                        ## kill: def $eax killed $eax def $rax
	movq	_myargc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rax), %edx
	cmpl	%ecx, %eax
	movq	_myargv@GOTPCREL(%rip), %rax
	cmovgl	%ecx, %edx
	movslq	%edx, %rcx
	shlq	$3, %rcx
	addq	(%rax), %rcx
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	addq	%rbx, %r14
	incq	%r14
	jmp	LBB0_35
LBB0_28:
	incq	%r14
	incq	%r15
	movsbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_39
## %bb.29:
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %r14
	movzbl	(%rcx), %eax
	leaq	1(%r15), %rbx
	movb	%al, (%r15)
	movb	$0, 1(%r15)
	movsbl	1(%rcx), %edi
	callq	_isdigit
	movq	%r14, %rcx
	movq	%rbx, %r15
	testq	%rax, %rax
	jne	LBB0_30
	jmp	LBB0_40
LBB0_31:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_35
LBB0_32:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_48
LBB0_33:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_70
LBB0_34:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_warnx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_68
LBB0_35:
	leaq	-116(%rbp), %rdi
	callq	_getint
	testq	%rax, %rax
	jne	LBB0_65
## %bb.36:
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_maxargv@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_38
## %bb.37:
	movq	%rax, (%rcx)
LBB0_38:
	movw	$42, 1(%r15)
	addq	$2, %r15
LBB0_39:
	movq	%r15, %rbx
LBB0_40:
	movb	(%r14), %r12b
	movq	%rbx, %r15
LBB0_41:
	testb	%r12b, %r12b
	je	LBB0_47
## %bb.42:
	movb	%r12b, (%r15)
	movb	$0, 1(%r15)
	xorl	%esi, %esi
	cmpb	$76, %r12b
	jne	LBB0_49
## %bb.43:
	movsbl	1(%r14), %esi
	incq	%r14
	leaq	L_.str.2(%rip), %rdi
	callq	_strchr
	movl	$1, %esi
	testq	%rax, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_50
## %bb.44:
	movsbl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
LBB0_45:
	xorl	%r14d, %r14d
LBB0_46:
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_68
LBB0_47:
	leaq	L_.str.1(%rip), %rdi
LBB0_48:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_68
LBB0_49:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_50:
	testq	%rcx, %rcx
	je	LBB0_52
## %bb.51:
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_52:
	movsbl	(%r14), %r15d
	movb	1(%r14), %bl
	movb	$0, 1(%r14)
	leal	-65(%r15), %eax
	cmpl	$55, %eax
	ja	LBB0_75
## %bb.53:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_54:
	leaq	-96(%rbp), %rdi
	callq	_getfloating
	testl	%eax, %eax
	je	LBB0_56
## %bb.55:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_56:
	fldt	-96(%rbp)
	cmpb	$76, %r12b
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_66
## %bb.57:
	subq	$16, %rsp
	fstpt	(%rsp)
	xorl	%eax, %eax
	callq	_PF
	addq	$16, %rsp
	jmp	LBB0_67
LBB0_58:
	movl	%ebx, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_mknum
	testq	%rax, %rax
	je	LBB0_65
## %bb.59:
	movq	%rax, %rbx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpb	$100, %r15b
	sete	%al
	cmpb	$105, %r15b
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edx
	leaq	-96(%rbp), %r13
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	callq	_getnum
	testl	%eax, %eax
	je	LBB0_61
## %bb.60:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_61:
	cmpb	$100, %r15b
	je	LBB0_64
## %bb.62:
	cmpb	$105, %r15b
	je	LBB0_64
## %bb.63:
	leaq	-112(%rbp), %r13
LBB0_64:
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	movb	$1, %al
	callq	_PF
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r12d, %ebx
	jmp	LBB0_67
LBB0_65:
	xorl	%r14d, %r14d
	jmp	LBB0_68
LBB0_66:
	fstpl	-104(%rbp)
	movsd	-104(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_PF
LBB0_67:
	incq	%r14
	movb	%bl, (%r14)
LBB0_68:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_83
## %bb.69:
	movq	%r14, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_70:
	leaq	-120(%rbp), %rdi
	callq	_getint
	testq	%rax, %rax
	je	LBB0_72
## %bb.71:
	xorl	%r14d, %r14d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_68
LBB0_72:
	movq	_gargv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_maxargv@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_74
## %bb.73:
	movq	%rax, (%rcx)
LBB0_74:
	movq	%r15, %rax
	addq	%r13, %r15
	addq	$2, %r15
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movw	$42, 1(%rax,%r13)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_75:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	jmp	LBB0_46
LBB0_76:
	movl	%ebx, %r12d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_strlen
	cltq
	movb	$115, -1(%rax,%r15)
	xorl	%eax, %eax
	callq	_getstr
	movq	%rax, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_82
## %bb.77:
	movq	%rax, %rbx
	leaq	-96(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_escape
	movq	%r15, %rdi
	movq	%r13, %r15
	movl	%eax, %r13d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_PF
	movq	%rbx, %rdi
	callq	_free
	testl	%r13d, %r13d
	movq	%r15, %r13
	movl	%r12d, %ebx
	je	LBB0_67
## %bb.78:
	movq	_end_fmt@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_68
LBB0_79:
	xorl	%eax, %eax
	callq	_getchr
	testb	%al, %al
	je	LBB0_67
## %bb.80:
	movsbl	%al, %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_PF
	jmp	LBB0_67
LBB0_81:
	xorl	%eax, %eax
	callq	_getstr
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_PF
	jmp	LBB0_67
LBB0_82:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movsbl	%al, %esi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_45
LBB0_83:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_75, LBB0_75-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_76, LBB0_76-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_81, LBB0_81-LJTI0_0
LJTI0_0:
	.long	L0_0_set_54
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_58
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_54
	.long	L0_0_set_76
	.long	L0_0_set_79
	.long	L0_0_set_58
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_75
	.long	L0_0_set_58
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_58
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_81
	.long	L0_0_set_75
	.long	L0_0_set_58
	.long	L0_0_set_75
	.long	L0_0_set_75
	.long	L0_0_set_58
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
_printf_doformat.skip1:                 ## @printf_doformat.skip1
	.asciz	"#'-+ 0"

	.comm	_digits,4,2                     ## @digits
	.comm	_myargc,4,2                     ## @myargc
	.comm	_myargv,8,3                     ## @myargv
	.comm	_gargv,8,3                      ## @gargv
	.comm	_maxargv,8,3                    ## @maxargv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incomplete use of n$"

L_.str.1:                               ## @.str.1
	.asciz	"missing format character"

L_.str.2:                               ## @.str.2
	.asciz	"aAeEfFgG"

L_.str.3:                               ## @.str.3
	.asciz	"bad modifier L for %%%c"

L_.str.4:                               ## @.str.4
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_end_fmt,8,3                    ## @end_fmt
L_.str.5:                               ## @.str.5
	.asciz	"illegal format character %c"

	.no_dead_strip	_printf_doformat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printf_doformat
_printf_doformat:                       ; @printf_doformat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_strlen
	mov	x24, sp
	add	w8, w0, #1
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	w8, #37
	mov	x27, x19
	strh	w8, [x27], #1
	add	x22, x21, #1
Lloh5:
	adrp	x26, _digits@GOTPAGE
Lloh6:
	ldr	x26, [x26, _digits@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x22
	bl	_strspn
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x22, w0, uxtw]
	cmp	w8, #36
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_atoi
Lloh7:
	adrp	x8, _myargc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _myargc@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _myargv@GOTPAGE
Lloh11:
	ldr	x9, [x9, _myargv@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	sub	w10, w0, #1
	cmp	w0, w8
	csel	w8, w8, w10, gt
Lloh13:
	adrp	x10, _gargv@GOTPAGE
Lloh14:
	ldr	x10, [x10, _gargv@GOTPAGEOFF]
	add	x25, x9, w8, sxtw #3
Lloh15:
	str	x25, [x10]
Lloh16:
	adrp	x8, _maxargv@GOTPAGE
Lloh17:
	ldr	x8, [x8, _maxargv@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x25, x9
	b.ls	LBB0_4
; %bb.3:
	str	x25, [x8]
LBB0_4:
	add	w8, w21, #1
	add	x22, x22, x8
	ldrb	w8, [x22]
	cbnz	w8, LBB0_6
	b	LBB0_16
LBB0_5:
	mov	x25, #0
	ldrb	w8, [x22]
	cbz	w8, LBB0_16
LBB0_6:
	mov	x27, #0
Lloh18:
	adrp	x21, _printf_doformat.skip1@PAGE
Lloh19:
	add	x21, x21, _printf_doformat.skip1@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x19, x27
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x22, x27
	ldrb	w9, [x8]
	strb	w9, [x28, #1]
	strb	wzr, [x28, #2]
	ldrb	w8, [x8, #1]
	add	x27, x27, #1
	cbnz	w8, LBB0_7
; %bb.9:
	add	x22, x22, x27
	add	x9, x19, x27
	add	x27, x9, #1
	b	LBB0_16
LBB0_10:
	add	x9, x22, x27
	ldrb	w8, [x9]
	cmp	w8, #42
	b.ne	LBB0_15
; %bb.11:
	add	x21, x9, #1
	ldr	w1, [x26]
	mov	x0, x21
	bl	_strspn
	cmp	w0, #1
	b.lt	LBB0_34
; %bb.12:
	mov	x23, x0
	add	x8, x22, w0, uxtw
	add	x8, x8, x27
	ldrb	w8, [x8, #1]
	cmp	w8, #36
	b.ne	LBB0_34
; %bb.13:
	cbz	x25, LBB0_35
; %bb.14:
	mov	x0, x21
	bl	_atoi
Lloh20:
	adrp	x8, _myargc@GOTPAGE
Lloh21:
	ldr	x8, [x8, _myargc@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _myargv@GOTPAGE
Lloh24:
	ldr	x9, [x9, _myargv@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	sub	w10, w0, #1
	cmp	w0, w8
	csel	w8, w8, w10, gt
Lloh26:
	adrp	x10, _gargv@GOTPAGE
Lloh27:
	ldr	x10, [x10, _gargv@GOTPAGEOFF]
	add	x8, x9, w8, sxtw #3
Lloh28:
	str	x8, [x10]
	add	w8, w23, #1
	add	x8, x22, x8
	add	x8, x8, x27
	add	x21, x8, #1
	b	LBB0_62
LBB0_15:
	add	x27, x28, #1
	mov	x22, x9
LBB0_16:
	sxtb	w0, w8
	bl	_isdigit
	cbz	x0, LBB0_19
; %bb.17:
	mov	x21, x22
	mov	x23, x27
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, #1]!
	ldrb	w8, [x22]
	strb	wzr, [x23, #1]!
	strb	w8, [x27]
	bl	_isdigit
	mov	x22, x21
	mov	x27, x23
	cbnz	x0, LBB0_18
	b	LBB0_20
LBB0_19:
	mov	x23, x27
	mov	x21, x22
LBB0_20:
	ldrb	w8, [x21]
	cmp	w8, #46
	b.ne	LBB0_38
; %bb.21:
	mov	x22, x21
	ldrb	w8, [x22, #1]!
	mov	w9, #46
	mov	x27, x23
	strb	w9, [x27], #1
	cmp	w8, #42
	b.ne	LBB0_26
; %bb.22:
	add	x21, x21, #2
	ldr	w1, [x26]
	mov	x0, x21
	bl	_strspn
	cmp	w0, #1
	b.lt	LBB0_29
; %bb.23:
	mov	x22, x0
	ldrb	w8, [x21, w0, uxtw]
	cmp	w8, #36
	b.ne	LBB0_29
; %bb.24:
	cbz	x25, LBB0_35
; %bb.25:
	mov	x0, x21
	bl	_atoi
Lloh29:
	adrp	x8, _myargc@GOTPAGE
Lloh30:
	ldr	x8, [x8, _myargc@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _myargv@GOTPAGE
Lloh33:
	ldr	x9, [x9, _myargv@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	sub	w10, w0, #1
	cmp	w0, w8
	csel	w8, w8, w10, gt
	add	x8, x9, w8, sxtw #3
Lloh35:
	adrp	x9, _gargv@GOTPAGE
Lloh36:
	ldr	x9, [x9, _gargv@GOTPAGEOFF]
Lloh37:
	str	x8, [x9]
	add	w8, w22, #1
	add	x21, x21, x8
	b	LBB0_30
LBB0_26:
	sxtb	w0, w8
	bl	_isdigit
	cbz	x0, LBB0_36
; %bb.27:
	mov	x21, x22
	mov	x23, x27
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, #1]!
	ldrb	w8, [x22]
	strb	wzr, [x23, #1]!
	strb	w8, [x27]
	bl	_isdigit
	mov	x22, x21
	mov	x27, x23
	cbnz	x0, LBB0_28
	b	LBB0_37
LBB0_29:
	cbnz	x25, LBB0_35
LBB0_30:
	sub	x0, x29, #96
	bl	_getint
	cbnz	x0, LBB0_63
; %bb.31:
Lloh38:
	adrp	x8, _gargv@GOTPAGE
Lloh39:
	ldr	x8, [x8, _gargv@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
Lloh41:
	adrp	x9, _maxargv@GOTPAGE
Lloh42:
	ldr	x9, [x9, _maxargv@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ls	LBB0_33
; %bb.32:
	str	x8, [x9]
LBB0_33:
	mov	w8, #42
	sturh	w8, [x23, #1]
	add	x23, x23, #2
	b	LBB0_37
LBB0_34:
	cbz	x25, LBB0_62
LBB0_35:
Lloh43:
	adrp	x0, l_.str@PAGE
Lloh44:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	b	LBB0_63
LBB0_36:
	mov	x23, x27
	mov	x21, x22
LBB0_37:
	ldrb	w8, [x21]
LBB0_38:
	cbz	w8, LBB0_42
; %bb.39:
	strb	w8, [x23]
	strb	wzr, [x23, #1]
	cmp	w8, #76
	b.ne	LBB0_43
; %bb.40:
	ldrsb	w1, [x21, #1]!
Lloh45:
	adrp	x0, l_.str.2@PAGE
Lloh46:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_strchr
	cbz	x0, LBB0_60
; %bb.41:
	mov	w1, #1
	cbnz	x25, LBB0_44
	b	LBB0_45
LBB0_42:
Lloh47:
	adrp	x0, l_.str.1@PAGE
Lloh48:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	b	LBB0_63
LBB0_43:
	mov	w1, #0
	cbz	x25, LBB0_45
LBB0_44:
Lloh49:
	adrp	x8, _gargv@GOTPAGE
Lloh50:
	ldr	x8, [x8, _gargv@GOTPAGEOFF]
Lloh51:
	str	x25, [x8]
LBB0_45:
	ldrsb	w22, [x21]
	ldrb	w23, [x21, #1]!
	strb	wzr, [x21]
	sub	w8, w22, #65
	cmp	w8, #55
	b.hi	LBB0_69
; %bb.46:
Lloh52:
	adrp	x9, lJTI0_0@PAGE
Lloh53:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_47
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_47:
	sub	x0, x29, #104
	bl	_getfloating
	cbz	w0, LBB0_49
; %bb.48:
	mov	w8, #1
	str	w8, [x20]
LBB0_49:
	ldur	d0, [x29, #-104]
	b	LBB0_57
LBB0_50:
	mov	x0, x19
	mov	x1, x22
	bl	_mknum
	cbz	x0, LBB0_63
; %bb.51:
	mov	x19, x0
	cmp	w22, #100
	mov	w8, #105
	ccmp	w22, w8, #4, ne
	cset	w2, eq
	sub	x0, x29, #104
	sub	x1, x29, #112
	bl	_getnum
	cbz	w0, LBB0_53
; %bb.52:
	mov	w8, #1
	str	w8, [x20]
LBB0_53:
	sub	x8, x29, #104
	cmp	w22, #100
	b.eq	LBB0_56
; %bb.54:
	and	w9, w22, #0xff
	cmp	w9, #105
	b.eq	LBB0_56
; %bb.55:
	sub	x8, x29, #112
LBB0_56:
	ldr	d0, [x8]
LBB0_57:
	str	d0, [sp, #-16]!
LBB0_58:
	mov	x0, x19
	bl	_PF
	add	sp, sp, #16
LBB0_59:
	strb	w23, [x21]
	b	LBB0_64
LBB0_60:
	ldrsb	x8, [x21]
	str	x8, [sp, #-16]!
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_61:
	bl	_warnx
	add	sp, sp, #16
	b	LBB0_63
LBB0_62:
	sub	x0, x29, #92
	bl	_getint
	cbz	x0, LBB0_66
LBB0_63:
	mov	x21, #0
LBB0_64:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_77
; %bb.65:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_66:
Lloh59:
	adrp	x8, _gargv@GOTPAGE
Lloh60:
	ldr	x8, [x8, _gargv@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
Lloh62:
	adrp	x9, _maxargv@GOTPAGE
Lloh63:
	ldr	x9, [x9, _maxargv@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ls	LBB0_68
; %bb.67:
	str	x8, [x9]
LBB0_68:
	add	x23, x19, x27
	strb	wzr, [x23, #2]!
	mov	w8, #42
	strb	w8, [x28, #1]
	b	LBB0_20
LBB0_69:
	str	x22, [sp, #-16]!
Lloh64:
	adrp	x0, l_.str.5@PAGE
Lloh65:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_61
LBB0_70:
	mov	x0, x19
	bl	_strlen
	add	x8, x19, w0, sxtw
	mov	w9, #115
	sturb	w9, [x8, #-1]
	bl	_getstr
	bl	_strdup
	cbz	x0, LBB0_76
; %bb.71:
	mov	x20, x0
	sub	x2, x29, #104
	mov	w1, #0
	bl	_escape
	mov	x22, x0
	str	x20, [sp, #-16]!
	mov	x0, x19
	bl	_PF
	add	sp, sp, #16
	mov	x0, x20
	bl	_free
	cbz	w22, LBB0_59
; %bb.72:
Lloh66:
	adrp	x8, _end_fmt@GOTPAGE
Lloh67:
	ldr	x8, [x8, _end_fmt@GOTPAGEOFF]
Lloh68:
	ldr	x21, [x8]
	b	LBB0_64
LBB0_73:
	bl	_getchr
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_59
; %bb.74:
	sxtw	x8, w0
	str	x8, [sp, #-16]!
	b	LBB0_58
LBB0_75:
	bl	_getstr
	str	x0, [sp, #-16]!
	b	LBB0_58
LBB0_76:
Lloh69:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp, #-16]!
Lloh72:
	adrp	x0, l_.str.4@PAGE
Lloh73:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_61
LBB0_77:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_70-LBB0_47)>>2
	.byte	(LBB0_73-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_47-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_75-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_69-LBB0_47)>>2
	.byte	(LBB0_50-LBB0_47)>>2
                                        ; -- End function
_printf_doformat.skip1:                 ; @printf_doformat.skip1
	.asciz	"#'-+ 0"

	.comm	_digits,4,2                     ; @digits
	.comm	_myargc,4,2                     ; @myargc
	.comm	_myargv,8,3                     ; @myargv
	.comm	_gargv,8,3                      ; @gargv
	.comm	_maxargv,8,3                    ; @maxargv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incomplete use of n$"

l_.str.1:                               ; @.str.1
	.asciz	"missing format character"

l_.str.2:                               ; @.str.2
	.asciz	"aAeEfFgG"

l_.str.3:                               ; @.str.3
	.asciz	"bad modifier L for %%%c"

l_.str.4:                               ; @.str.4
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_end_fmt,8,3                    ; @end_fmt
l_.str.5:                               ; @.str.5
	.asciz	"illegal format character %c"

	.no_dead_strip	_printf_doformat
.subsections_via_symbols
