	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_opt_arg_may
_get_opt_arg_may:                       ## @get_opt_arg_may
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.2:
	movq	(%rbx), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, (%rbx)
	movb	1(%rcx), %cl
	movq	_NUL@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_16
## %bb.3:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpb	$45, (%rax)
	jne	LBB0_15
LBB0_5:
	movq	$0, 8(%r14)
	jmp	LBB0_17
LBB0_6:
	cmpq	$0, 8(%r14)
	jne	LBB0_17
## %bb.7:
	movq	%rbx, %rdi
	callq	_NAMED_OPTS
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	cmpb	$45, (%rax)
	jne	LBB0_15
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_11:
	movq	_zbad_default_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ao_bug
	jmp	LBB0_17
LBB0_15:
	incq	%rcx
	movq	%rcx, 16(%rbx)
LBB0_16:
	movq	%rax, 8(%r14)
LBB0_17:
	movq	$0, (%rbx)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUL,1,0                        ## @NUL
	.comm	_zbad_default_msg,4,2           ## @zbad_default_msg
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_get_opt_arg_may
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_opt_arg_may
_get_opt_arg_may:                       ; @get_opt_arg_may
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.2:
	ldr	x9, [x19]
	add	x8, x9, #1
	str	x8, [x19]
	ldrb	w9, [x9, #1]
Lloh0:
	adrp	x10, _NUL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NUL@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_13
; %bb.3:
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_5
; %bb.4:
	ldrb	w10, [x8]
	cmp	w10, #45
	b.ne	LBB0_12
LBB0_5:
	str	xzr, [x20, #8]
	b	LBB0_14
LBB0_6:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_NAMED_OPTS
	cbnz	w0, LBB0_14
; %bb.8:
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_13
; %bb.9:
	ldrb	w10, [x8]
	cmp	w10, #45
	b.ne	LBB0_12
; %bb.10:
	mov	x8, #0
	str	xzr, [x20, #8]
	b	LBB0_14
LBB0_11:
Lloh2:
	adrp	x8, _zbad_default_msg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _zbad_default_msg@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_ao_bug
	b	LBB0_14
LBB0_12:
	add	x9, x9, #1
	str	x9, [x19, #16]
LBB0_13:
	str	x8, [x20, #8]
LBB0_14:
	str	xzr, [x19]
Lloh5:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NUL,1,0                        ; @NUL
	.comm	_zbad_default_msg,4,2           ; @zbad_default_msg
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_get_opt_arg_may
.subsections_via_symbols
