	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getsubopt1
_getsubopt1:                            ## @getsubopt1
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdi, %r15
	movq	$0, (%rcx)
	movq	(%rdi), %rax
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	incq	%rax
	leaq	L_.str(%rip), %rbx
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r12), %ecx
	incq	%r12
	testb	%cl, %cl
	jne	LBB0_2
## %bb.4:
	decq	%r12
	movq	%r12, %rax
	jmp	LBB0_6
LBB0_5:
	leaq	-1(%r12), %rax
	cmpb	$0, -1(%r12)
	je	LBB0_6
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r13)
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movzbl	(%r12), %eax
	testb	%al, %al
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_strchr
	movzbl	(%rbx), %ecx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	1(%rbx), %r12
	cmpb	$61, %cl
	jne	LBB0_8
	jmp	LBB0_12
LBB0_6:
	movq	%rax, (%r15)
	movl	$-1, %r14d
LBB0_27:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	cmpb	$61, %cl
	je	LBB0_12
## %bb.18:
	testb	%cl, %cl
	jne	LBB0_19
LBB0_9:
	movq	%rbx, %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_12:
	leaq	1(%rbx), %rcx
	movb	$0, (%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movb	1(%rbx), %al
	testb	%al, %al
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_22
## %bb.13:
	addq	$2, %rbx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %r14
	movq	%rcx, %rbx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_28
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movzbl	(%r14), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_14
## %bb.16:
	decq	%r14
	jmp	LBB0_21
LBB0_28:
	leaq	-1(%r14), %rbx
	cmpb	$0, -1(%r14)
	movq	%rbx, %rcx
	jne	LBB0_20
	jmp	LBB0_22
LBB0_19:
	leaq	1(%rbx), %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_20:
	movb	$0, (%rbx)
LBB0_21:
	movq	%r14, %rcx
LBB0_22:
	movq	%rcx, (%r15)
	movq	(%r12), %rsi
	movl	$-1, %r14d
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.23:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%r12,%rbx,8), %rsi
	incq	%rbx
	testq	%rsi, %rsi
	jne	LBB0_24
	jmp	LBB0_27
LBB0_26:
	movl	%ebx, %r14d
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",\t "

	.no_dead_strip	_getsubopt1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getsubopt1
_getsubopt1:                            ; @getsubopt1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	str	xzr, [x3]
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cbz	w9, LBB0_10
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	add	x25, x8, #1
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w9
	mov	x0, x23
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x25], #1
	cbnz	w9, LBB0_2
; %bb.4:
	sub	x8, x25, #1
	b	LBB0_10
LBB0_5:
	mov	x8, x25
	ldrb	w9, [x8, #-1]!
	cbz	w9, LBB0_10
; %bb.6:
	str	x8, [x19]
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x25
	ldrb	w8, [x25]
	cbz	w8, LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w1, w8
	mov	x0, x23
	bl	_strchr
	ldrb	w8, [x24]
	cbnz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x24, #1
	cmp	w8, #61
	b.ne	LBB0_7
	b	LBB0_16
LBB0_10:
	str	x8, [x20]
LBB0_11:
	mov	w20, #-1
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	cmp	w8, #61
	b.eq	LBB0_16
; %bb.14:
	cbz	w8, LBB0_24
; %bb.15:
	add	x23, x24, #1
	b	LBB0_23
LBB0_16:
	add	x9, x24, #1
	strb	wzr, [x24]
	str	x9, [x22]
	ldrb	w8, [x24, #1]
	cbz	w8, LBB0_21
; %bb.17:
	add	x23, x24, #2
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	mov	x0, x22
	bl	_strchr
	cbnz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w8, [x23], #1
	cbnz	w8, LBB0_18
; %bb.20:
	sub	x24, x23, #1
	b	LBB0_24
LBB0_21:
	mov	x24, x9
	b	LBB0_24
LBB0_22:
	mov	x24, x23
	ldrb	w8, [x24, #-1]!
	cbz	w8, LBB0_24
LBB0_23:
	strb	wzr, [x24]
	mov	x24, x23
LBB0_24:
	str	x24, [x20]
	ldr	x1, [x21]
	cbz	x1, LBB0_11
; %bb.25:
	mov	x20, #0
	add	x21, x21, #8
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x1, [x21, x20, lsl #3]
	add	x20, x20, #1
	cbnz	x1, LBB0_26
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",\t "

	.no_dead_strip	_getsubopt1
.subsections_via_symbols
