	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __calc_left_pad
___calc_left_pad:                       ## @__calc_left_pad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	leaq	-19(%rbp), %rsi
	leaq	-18(%rbp), %rdx
	leaq	-17(%rbp), %rcx
	leaq	-32(%rbp), %r8
	callq	___setup_vars
	movb	-19(%rbp), %r14b
	testb	%r14b, %r14b
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	cmpb	$1, -18(%rbp)
	sbbl	$-1, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movsbl	-17(%rbp), %eax
	leal	-3(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_4
## %bb.5:
	testb	%r14b, %r14b
	je	LBB0_7
LBB0_6:
	movq	-32(%rbp), %rdi
	callq	_strlen
	addl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	cmpl	$1, %eax
	je	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___calc_left_pad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __calc_left_pad
___calc_left_pad:                       ; @__calc_left_pad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	add	x1, sp, #15
	add	x2, sp, #14
	add	x3, sp, #13
	mov	x4, sp
	bl	___setup_vars
	ldrb	w20, [sp, #15]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strlen
	ldrb	w8, [sp, #14]
	cmp	w8, #0
	cinc	w19, w0, ne
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	ldrsb	w8, [sp, #13]
	sub	w9, w8, #3
	cmp	w9, #2
	b.hs	LBB0_7
; %bb.4:
	cbz	w20, LBB0_6
LBB0_5:
	ldr	x0, [sp]
	bl	_strlen
	add	w19, w19, w0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	cmp	w8, #1
	b.eq	LBB0_5
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___calc_left_pad
.subsections_via_symbols
