	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_init_scb               ## -- Begin function brcms_c_init_scb
	.p2align	4, 0x90
_brcms_c_init_scb:                      ## @brcms_c_init_scb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_SCB_WMECAP@GOTPCREL(%rip), %rax
	movq	_SCB_HTCAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_NUMPRIO@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	8(%rbx), %rcx
	movq	24(%rbx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rdx,%rsi,8)
	movl	$65535, (%rcx,%rsi,4)           ## imm = 0xFFFF
	incq	%rsi
	movslq	(%rax), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_2
LBB0_3:
	movl	$65535, 16(%rbx)                ## imm = 0xFFFF
	movq	_SCB_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCB_WMECAP,4,2                 ## @SCB_WMECAP
	.comm	_SCB_HTCAP,4,2                  ## @SCB_HTCAP
	.comm	_NUMPRIO,4,2                    ## @NUMPRIO
	.comm	_SCB_MAGIC,4,2                  ## @SCB_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_init_scb               ; -- Begin function brcms_c_init_scb
	.p2align	2
_brcms_c_init_scb:                      ; @brcms_c_init_scb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _SCB_WMECAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCB_WMECAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SCB_HTCAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCB_HTCAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x8, _NUMPRIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUMPRIO@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19, #24]
	ldr	x11, [x19, #8]
	mov	w12, #65535
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x10, x9, lsl #3]
	str	w12, [x11, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	b.lt	LBB0_2
LBB0_3:
	mov	w8, #65535
Lloh8:
	adrp	x9, _SCB_MAGIC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SCB_MAGIC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SCB_WMECAP,4,2                 ; @SCB_WMECAP
	.comm	_SCB_HTCAP,4,2                  ; @SCB_HTCAP
	.comm	_NUMPRIO,4,2                    ; @NUMPRIO
	.comm	_SCB_MAGIC,4,2                  ; @SCB_MAGIC
.subsections_via_symbols
