	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_rbcfg_envs
_fixup_rbcfg_envs:                      ## @fixup_rbcfg_envs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_cpuinfo_find_soc
	movl	%eax, %r12d
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %r12d
	jne	LBB0_3
## %bb.4:
	movq	_rbcfg_cpu_freq_ar9344@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_rbcfg_cpu_freq_qca953x@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
LBB0_3:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
LBB0_6:
	movq	_rbcfg_envs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.7:
	xorl	%ebx, %ebx
	movq	_RB_ID_CPU_FREQ@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%r13), %rdi
	cmpq	(%rdi,%rbx), %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	addq	$24, %rbx
	cmpq	%rax, %r14
	jl	LBB0_8
	jmp	LBB0_13
LBB0_9:
	movq	_RBCFG_SOC_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	_RB_ID_TERMINATOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi,%rbx)
	jmp	LBB0_13
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rdi,%rbx)
	movq	(%r13), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax,%rbx)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbcfg_cpu_freq_qca953x,8,3     ## @rbcfg_cpu_freq_qca953x
	.comm	_rbcfg_cpu_freq_ar9344,8,3      ## @rbcfg_cpu_freq_ar9344
	.comm	_rbcfg_envs,8,3                 ## @rbcfg_envs
	.comm	_RB_ID_CPU_FREQ,8,3             ## @RB_ID_CPU_FREQ
	.comm	_RBCFG_SOC_UNKNOWN,4,2          ## @RBCFG_SOC_UNKNOWN
	.comm	_RB_ID_TERMINATOR,8,3           ## @RB_ID_TERMINATOR
	.no_dead_strip	_fixup_rbcfg_envs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_rbcfg_envs
_fixup_rbcfg_envs:                      ; @fixup_rbcfg_envs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	bl	_cpuinfo_find_soc
	mov	x19, x0
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _rbcfg_cpu_freq_ar9344@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rbcfg_cpu_freq_ar9344@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _rbcfg_cpu_freq_qca953x@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rbcfg_cpu_freq_qca953x@GOTPAGEOFF]
LBB0_4:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x21, x0
	b	LBB0_6
LBB0_5:
                                        ; implicit-def: $w21
                                        ; implicit-def: $x20
LBB0_6:
Lloh4:
	adrp	x22, _rbcfg_envs@GOTPAGE
Lloh5:
	ldr	x22, [x22, _rbcfg_envs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x23, #0
	mov	x24, #0
Lloh6:
	adrp	x25, _RB_ID_CPU_FREQ@GOTPAGE
Lloh7:
	ldr	x25, [x25, _RB_ID_CPU_FREQ@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x0, [x22]
	ldr	x9, [x0, x23]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #24
	cmp	x24, w0, sxtw
	b.lt	LBB0_8
	b	LBB0_13
LBB0_10:
Lloh8:
	adrp	x8, _RBCFG_SOC_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RBCFG_SOC_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _RB_ID_TERMINATOR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RB_ID_TERMINATOR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x0, x23]
	b	LBB0_13
LBB0_12:
	add	x8, x0, x23
	str	x20, [x8, #16]
	ldr	x8, [x22]
	add	x8, x8, x23
	str	w21, [x8, #8]
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rbcfg_cpu_freq_qca953x,8,3     ; @rbcfg_cpu_freq_qca953x
	.comm	_rbcfg_cpu_freq_ar9344,8,3      ; @rbcfg_cpu_freq_ar9344
	.comm	_rbcfg_envs,8,3                 ; @rbcfg_envs
	.comm	_RB_ID_CPU_FREQ,8,3             ; @RB_ID_CPU_FREQ
	.comm	_RBCFG_SOC_UNKNOWN,4,2          ; @RBCFG_SOC_UNKNOWN
	.comm	_RB_ID_TERMINATOR,8,3           ; @RB_ID_TERMINATOR
	.no_dead_strip	_fixup_rbcfg_envs
.subsections_via_symbols
