	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function howmany_tags
_howmany_tags:                          ## @howmany_tags
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	__
	movl	%r15d, -132(%rbp)               ## 4-byte Spill
	movl	%r14d, %r15d
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_sprintf
	movq	%r14, %rdi
	movl	%r15d, %r14d
	movl	-132(%rbp), %r15d               ## 4-byte Reload
	callq	_Usage
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rcx
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	movq	(%r13,%rcx,8), %rdi
	leaq	(%r13,%rcx,8), %r13
	addl	%eax, %r15d
	testq	%rdi, %rdi
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isOption
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_arg_rest
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %r12d
	cmpl	%r14d, %eax
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	movl	%edx, %r12d
	leaq	L_.str.1(%rip), %rdi
	testl	%edx, %edx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expected %d arguments, found only %d"

L_.str.1:                               ## @.str.1
	.asciz	"Expected %d arguments, found extra %d"

	.no_dead_strip	_howmany_tags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function howmany_tags
_howmany_tags:                          ; @howmany_tags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x0, [x0]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	w19, #0
Lloh3:
	adrp	x24, l_.str@PAGE
Lloh4:
	add	x24, x24, l_.str@PAGEOFF
Lloh5:
	adrp	x25, l_.str.1@PAGE
Lloh6:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x23, x22
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	__
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x20
	mov	x3, x23
	bl	_sprintf
	add	x0, sp, #8
	bl	_Usage
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, w22, sxtw #3
	add	w19, w26, w19
	ldr	x0, [x21]
	cbz	x0, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_isOption
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_arg_rest
	mov	x22, x0
	sdiv	w26, w0, w20
	cmp	w0, w20
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	msub	w23, w26, w20, w22
	cbz	w23, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	b	LBB0_3
LBB0_9:
	mov	w19, #0
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expected %d arguments, found only %d"

l_.str.1:                               ; @.str.1
	.asciz	"Expected %d arguments, found extra %d"

	.no_dead_strip	_howmany_tags
.subsections_via_symbols
