	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmusb_memc_fix
_brcmusb_memc_fix:                      ## @brcmusb_memc_fix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_BRCM_FAMILY_7445D0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movl	$-4096, %eax                    ## imm = 0xF000
	andl	8(%rdi), %eax
	cmpl	$1917976575, %eax               ## imm = 0x7251FFFF
	jg	LBB0_6
## %bb.2:
	cmpl	$119873536, %eax                ## imm = 0x7252000
	je	LBB0_5
## %bb.3:
	cmpl	$121929728, %eax                ## imm = 0x7448000
	je	LBB0_5
## %bb.4:
	cmpl	$121933824, %eax                ## imm = 0x7449000
	je	LBB0_5
	jmp	LBB0_9
LBB0_6:
	cmpl	$1917976576, %eax               ## imm = 0x72520000
	je	LBB0_5
## %bb.7:
	cmpl	$1950941184, %eax               ## imm = 0x74490000
	je	LBB0_5
## %bb.8:
	cmpl	$1950875648, %eax               ## imm = 0x74480000
	jne	LBB0_9
LBB0_5:
	movq	_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCB2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_USB_CTRL_UNSET_FAMILY          ## TAILCALL
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCM_FAMILY_7445D0,8,3         ## @BRCM_FAMILY_7445D0
	.comm	_SETUP,4,2                      ## @SETUP
	.comm	_SCB2_EN,4,2                    ## @SCB2_EN
	.no_dead_strip	_brcmusb_memc_fix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmusb_memc_fix
_brcmusb_memc_fix:                      ; @brcmusb_memc_fix
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRCM_FAMILY_7445D0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCM_FAMILY_7445D0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
	and	w8, w8, #0xfffff000
	mov	w9, #1917976575
	cmp	w8, w9
	b.gt	LBB0_4
; %bb.2:
	mov	w9, #8192
	movk	w9, #1829, lsl #16
	cmp	w8, w9
	mov	w9, #32768
	movk	w9, #1860, lsl #16
	ccmp	w8, w9, #4, ne
	mov	w9, #36864
	movk	w9, #1860, lsl #16
	ccmp	w8, w9, #4, ne
	b.eq	LBB0_5
LBB0_3:
	ret
LBB0_4:
	mov	w9, #1917976576
	cmp	w8, w9
	mov	w9, #1950941184
	ccmp	w8, w9, #4, ne
	mov	w9, #1950875648
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_3
LBB0_5:
Lloh3:
	adrp	x8, _SETUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SETUP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SCB2_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCB2_EN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	b	_USB_CTRL_UNSET_FAMILY
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCM_FAMILY_7445D0,8,3         ; @BRCM_FAMILY_7445D0
	.comm	_SETUP,4,2                      ; @SETUP
	.comm	_SCB2_EN,4,2                    ; @SCB2_EN
	.no_dead_strip	_brcmusb_memc_fix
.subsections_via_symbols
