	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function have_cmd
_have_cmd:                              ## @have_cmd
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	leal	(,%r15,8), %r12d
	movl	%r12d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	_record_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PARSE_OPT_STOP_AT_NON_OPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r14d, %r14d
	movl	%r15d, %edi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_parse_options
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	testl	%r15d, %r15d
	sete	%al
	movq	_system_wide@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed\n"

	.comm	_record_options,4,2             ## @record_options
	.comm	_PARSE_OPT_STOP_AT_NON_OPTION,4,2 ## @PARSE_OPT_STOP_AT_NON_OPTION
	.comm	_system_wide,4,2                ## @system_wide
	.no_dead_strip	_have_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function have_cmd
_have_cmd:                              ; @have_cmd
	.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
	mov	x21, x1
	mov	x20, x0
	lsl	w22, w0, #3
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
Lloh0:
	adrp	x8, _record_options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _record_options@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _PARSE_OPT_STOP_AT_NON_OPTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARSE_OPT_STOP_AT_NON_OPTION@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, #0
	bl	_parse_options
	mov	x20, x0
	mov	x0, x19
	bl	_free
	mov	w0, #0
	cmp	w20, #0
	cset	w8, eq
Lloh6:
	adrp	x9, _system_wide@GOTPAGE
Lloh7:
	ldr	x9, [x9, _system_wide@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #-1
LBB0_3:
	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
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed\n"

	.comm	_record_options,4,2             ; @record_options
	.comm	_PARSE_OPT_STOP_AT_NON_OPTION,4,2 ; @PARSE_OPT_STOP_AT_NON_OPTION
	.comm	_system_wide,4,2                ; @system_wide
	.no_dead_strip	_have_cmd
.subsections_via_symbols
