	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_arg
_get_arg:                               ## @get_arg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, (%rcx)
	movq	$0, (%rdi)
	jmp	LBB0_8
LBB0_2:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	8(%rdi), %eax
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.3:
	movq	_PARSE_OPT_LASTARG_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.4:
	movq	8(%rbx), %rax
	jmp	LBB0_7
LBB0_5:
	jle	LBB0_9
## %bb.6:
	decl	%eax
	movl	%eax, 8(%rdi)
	movq	16(%rdi), %rax
	leaq	8(%rax), %rdx
	movq	%rdx, 16(%rdi)
	movq	8(%rax), %rax
LBB0_7:
	movq	%rax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_optname
	movl	%r15d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PARSE_OPT_LASTARG_DEFAULT,4,2  ## @PARSE_OPT_LASTARG_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s requires a value"

	.no_dead_strip	_get_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_arg
_get_arg:                               ; @get_arg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	str	x8, [x3]
	str	xzr, [x0]
	b	LBB0_8
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	ldr	w9, [x0, #8]
	subs	w8, w9, #1
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _PARSE_OPT_LASTARG_DEFAULT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARSE_OPT_LASTARG_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
	ldr	x8, [x20, #8]
	b	LBB0_7
LBB0_5:
	cmp	w9, #2
	b.lt	LBB0_9
; %bb.6:
	str	w8, [x0, #8]
	ldr	x8, [x0, #16]
	add	x9, x8, #8
	str	x9, [x0, #16]
	ldr	x8, [x8, #8]
LBB0_7:
	str	x8, [x3]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_optname
	mov	x1, x0
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PARSE_OPT_LASTARG_DEFAULT,4,2  ; @PARSE_OPT_LASTARG_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s requires a value"

	.no_dead_strip	_get_arg
.subsections_via_symbols
