	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_printf_spec
_do_printf_spec:                        ## @do_printf_spec
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	leaq	2(%rsi), %rbx
	movabsq	$317209104613376, %rax          ## imm = 0x1208000000000
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx), %r15d
	cmpq	$48, %r15
	ja	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	btq	%r15, %rax
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	jmp	LBB0_1
LBB0_4:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%r15b, %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rbx), %r15d
	incq	%rbx
	jmp	LBB0_5
LBB0_7:
	cmpb	$46, %r15b
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %r15d
	incq	%rbx
	movsbl	%r15b, %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	movsbl	%r15b, %ecx
	xorl	%r12d, %r12d
	addl	$-88, %ecx
	cmpl	$32, %ecx
	ja	LBB0_24
## %bb.10:
	movb	(%rbx), %al
	incq	%rbx
	movabsq	$4303360001, %rdx               ## imm = 0x100801001
	btq	%rcx, %rdx
	jae	LBB0_14
## %bb.11:
	testq	%r13, %r13
	je	LBB0_19
## %bb.12:
	cmpb	$110, %al
	jne	LBB0_22
## %bb.13:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_translate_line_number
	jmp	LBB0_20
LBB0_14:
	cmpq	$11, %rcx
	jne	LBB0_24
## %bb.15:
	cmpb	$39, %al
	jne	LBB0_22
## %bb.16:
	leaq	-41(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_scan_char_literal
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	movq	%rax, %r12
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.18:
	movsbl	-41(%rbp), %edi
	callq	_putc
	jmp	LBB0_24
LBB0_19:
	movsbl	%al, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_groups_letter_value
	testq	%rax, %rax
	js	LBB0_22
LBB0_20:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.21:
	movq	%rbx, %r12
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	subq	%r14, %r12
	leaq	-2(%r12), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	1(%r12), %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_xmalloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	movb	$108, -2(%r13,%r12)
	movb	%r15b, -1(%r13,%r12)
	movb	$0, (%r13,%r12)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_fprintf
	movq	%r13, %rdi
	callq	_free
LBB0_23:
	movq	%rbx, %r12
	jmp	LBB0_24
LBB0_22:
	xorl	%r12d, %r12d
LBB0_24:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_do_printf_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_printf_spec
_do_printf_spec:                        ; @do_printf_spec
	.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	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	add	x20, x1, #2
	mov	w8, #1
	mov	x9, #35734127902720
	movk	x9, #1, lsl #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w26, [x20, #-1]
	cmp	w26, #48
	lsl	x10, x8, x26
	and	x10, x10, x9
	ccmp	x10, #0, #4, ls
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #1
	b	LBB0_1
LBB0_3:
	sxtb	w0, w26
	bl	_ISDIGIT
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w25, [x20], #1
	mov	x0, x25
	bl	_ISDIGIT
	cbnz	x0, LBB0_4
; %bb.5:
	and	w26, w25, #0xff
LBB0_6:
	cmp	w26, #46
	b.ne	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w25, [x20], #1
	mov	x0, x25
	bl	_ISDIGIT
	cbnz	x0, LBB0_7
; %bb.8:
	and	w26, w25, #0xff
LBB0_9:
	mov	x25, #0
	sxtb	w8, w26
	sub	w9, w8, #88
	cmp	w9, #32
	b.hi	LBB0_24
; %bb.10:
	ldrb	w8, [x20], #1
	mov	w10, #1
	lsl	x10, x10, x9
	mov	x11, #4097
	movk	x11, #128, lsl #16
	movk	x11, #1, lsl #32
	tst	x10, x11
	b.eq	LBB0_14
; %bb.11:
	cbz	x23, LBB0_19
; %bb.12:
	cmp	w8, #110
	b.ne	LBB0_23
; %bb.13:
	mov	x0, x23
	mov	x1, x22
	bl	_translate_line_number
	mov	x22, x0
	b	LBB0_20
LBB0_14:
	cmp	x9, #11
	b.ne	LBB0_24
; %bb.15:
	cmp	w8, #39
	b.ne	LBB0_23
; %bb.16:
	add	x1, sp, #15
	mov	x0, x20
	bl	_scan_char_literal
	mov	x25, x0
	cbz	x0, LBB0_24
; %bb.17:
	cbz	x19, LBB0_24
; %bb.18:
	ldrsb	w0, [sp, #15]
	mov	x1, x19
	bl	_putc
	b	LBB0_24
LBB0_19:
	sxtb	w1, w8
	mov	x0, x24
	bl	_groups_letter_value
	mov	x22, x0
	tbnz	x0, #63, LBB0_23
LBB0_20:
	cbz	x19, LBB0_22
; %bb.21:
	sub	x8, x20, x21
	sub	x23, x8, #2
	add	x0, x8, #1
	bl	_xmalloc
	mov	x24, x0
	add	x25, x0, x23
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	mov	w8, #108
	strb	w8, [x25]
	strb	w26, [x25, #1]
	strb	wzr, [x25, #2]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_fprintf
	mov	x0, x24
	bl	_free
LBB0_22:
	mov	x25, x20
	b	LBB0_24
LBB0_23:
	mov	x25, #0
LBB0_24:
	mov	x0, x25
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_do_printf_spec
.subsections_via_symbols
