	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cmd_arg_num                ## -- Begin function get_cmd_arg_num
	.p2align	4, 0x90
_get_cmd_arg_num:                       ## @get_cmd_arg_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	movl	%esi, %r9d
	leal	1(%rsi), %r8d
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rcx), %edx
	cmpl	%esi, %ecx
	movl	%edx, %ecx
	jge	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movslq	%ecx, %rdx
	movb	(%rdi,%rdx), %r10b
	cmpb	$32, %r10b
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	cmpl	%esi, %ecx
	jg	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$32, %r10b
	je	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r9, %rdx
	jge	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	leaq	1(%rdx), %rcx
	cmpb	$32, 1(%rdi,%rdx)
	movq	%rcx, %rdx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %ecx
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	subl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cmd_arg_num                ; -- Begin function get_cmd_arg_num
	.p2align	2
_get_cmd_arg_num:                       ; @get_cmd_arg_num
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	tbnz	w1, #31, LBB0_11
; %bb.1:
	mov	w12, #0
	mov	w8, #0
	add	w9, w1, #1
	sxtw	x10, w1
	add	x11, x0, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, x9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w13, w12, #1
	cmp	w12, w1
	mov	x12, x13
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	sxtw	x13, w12
	ldrb	w14, [x0, x13]
	cmp	w14, #32
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	cmp	w12, w1
	b.gt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w14, #32
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, x13
	b	LBB0_10
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x10, x13
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x12, x13, #1
	ldrb	w14, [x11, x13]
	mov	x13, x12
	cmp	w14, #32
	b.ne	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	b	LBB0_3
LBB0_11:
	mov	w8, #0
LBB0_12:
	cmp	w8, #0
	cset	w9, gt
	sub	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
