	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	(%rsi), %rax
	movq	_rbcfg_name@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_fixup_rbcfg_envs
	cmpl	$2, %r14d
	jl	LBB0_10
## %bb.1:
	movq	_rbcfg_commands@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	16(%rax,%r13), %edi
	movq	8(%r15), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$24, %r13
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_9
LBB0_5:
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	movq	_CMD_FLAG_USES_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx,%r13)
	je	LBB0_13
## %bb.7:
	xorl	%eax, %eax
	callq	_rbcfg_open
	testl	%eax, %eax
	jne	LBB0_11
LBB0_13:
	addl	$-2, %r14d
	addq	$16, %r15
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	*8(%rbx,%r13)
	movl	%eax, %r14d
	movl	(%r12), %eax
	testl	%eax, (%rbx,%r13)
	je	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_rbcfg_close
LBB0_15:
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.16:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_10:
	xorl	%eax, %eax
	callq	_usage
LBB0_11:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbcfg_name,8,3                 ## @rbcfg_name
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_rbcfg_commands,8,3             ## @rbcfg_commands
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown command '%s'\n"

	.comm	_CMD_FLAG_USES_CFG,4,2          ## @CMD_FLAG_USES_CFG
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _rbcfg_name@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rbcfg_name@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	bl	_fixup_rbcfg_envs
	subs	w20, w20, #2
	b.lt	LBB0_12
; %bb.1:
Lloh3:
	adrp	x22, _rbcfg_commands@GOTPAGE
Lloh4:
	ldr	x22, [x22, _rbcfg_commands@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x21, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x8, x8, x21
	ldr	w0, [x8, #16]
	ldr	x1, [x19, #8]
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x21, x21, #24
	cmp	x23, w0, sxtw
	b.lt	LBB0_3
	b	LBB0_11
LBB0_5:
	ldr	x23, [x22]
	cbz	x23, LBB0_11
; %bb.6:
	ldr	w8, [x23, x21]
Lloh5:
	adrp	x22, _CMD_FLAG_USES_CFG@GOTPAGE
Lloh6:
	ldr	x22, [x22, _CMD_FLAG_USES_CFG@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	bl	_rbcfg_open
	cbnz	w0, LBB0_13
LBB0_8:
	add	x1, x19, #16
	add	x21, x23, x21
	ldr	x8, [x21, #8]
	mov	x0, x20
	blr	x8
	mov	x19, x0
	ldr	w8, [x21]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	bl	_rbcfg_close
LBB0_10:
Lloh7:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh9:
	adrp	x9, _EXIT_SUCCESS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EXIT_SUCCESS@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	b	LBB0_14
LBB0_11:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_12:
	bl	_usage
LBB0_13:
Lloh16:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rbcfg_name,8,3                 ; @rbcfg_name
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_rbcfg_commands,8,3             ; @rbcfg_commands
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown command '%s'\n"

	.comm	_CMD_FLAG_USES_CFG,4,2          ; @CMD_FLAG_USES_CFG
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
