	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbcfg_cmd_set
_rbcfg_cmd_set:                         ## @rbcfg_cmd_set
	.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
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	_RB_ERR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_rbcfg_envs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r13
	movl	(%r13,%rbx), %edi
	movq	(%r15), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_4
## %bb.6:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	callq	_usage
	movq	_RB_ERR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r15), %rsi
	addq	%rbx, %r13
	movq	%r13, %rdi
	callq	_rbcfg_env_set
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rbcfg_update                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_ERR_INVALID,4,2             ## @RB_ERR_INVALID
	.comm	_rbcfg_envs,8,3                 ## @rbcfg_envs
	.no_dead_strip	_rbcfg_cmd_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbcfg_cmd_set
_rbcfg_cmd_set:                         ; @rbcfg_cmd_set
	.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
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _RB_ERR_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_ERR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _rbcfg_envs@GOTPAGE
Lloh4:
	ldr	x21, [x21, _rbcfg_envs@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x21]
	ldr	w0, [x24, x22]
	ldr	x1, [x20]
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	bl	_usage
Lloh5:
	adrp	x8, _RB_ERR_INVALID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RB_ERR_INVALID@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	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
LBB0_7:
	ldr	x1, [x20, #8]
	add	x0, x24, x22
	bl	_rbcfg_env_set
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.8:
	mov	w0, #1
	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
	b	_rbcfg_update
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_ERR_INVALID,4,2             ; @RB_ERR_INVALID
	.comm	_rbcfg_envs,8,3                 ; @rbcfg_envs
	.no_dead_strip	_rbcfg_cmd_set
.subsections_via_symbols
