	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_init_hw
_cp_init_hw:                            ## @cp_init_hw
	.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	%rdi, %r14
	movq	8(%rdi), %r15
	callq	_cp_reset_hw
	movq	_Cfg9346@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_Cfg9346_Unlock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpw8_f
	movq	_MAC0@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cpw32_f
	movq	(%r13), %rbx
	addq	$4, %rbx
	movq	(%r15), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cpw32_f
	movq	%r14, %rdi
	callq	_cp_start_hw
	movq	_TxThresh@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$6, %esi
	callq	_cpw8
	movq	%r15, %rdi
	callq	___cp_set_rx_mode
	movq	_TxConfig@GOTPCREL(%rip), %rax
	movq	_TX_DMA_BURST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_TxDMAShift@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	(%rax), %rdi
	movq	_IFG@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_cpw32_f
	movq	_Config1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_cpr8
	movq	_DriverLoaded@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PMEnable@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_cpw8
	movq	_Config3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PARMEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cpw8
	movq	$0, (%r14)
	movq	_Config5@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_cpr8
	movq	_PMEStatus@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_cpw8
	movq	_MultiIntr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cpw16
	movl	(%r12), %edi
	movq	_Cfg9346_Lock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpw8_f                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Cfg9346,4,2                    ## @Cfg9346
	.comm	_Cfg9346_Unlock,4,2             ## @Cfg9346_Unlock
	.comm	_MAC0,8,3                       ## @MAC0
	.comm	_TxThresh,4,2                   ## @TxThresh
	.comm	_TxConfig,8,3                   ## @TxConfig
	.comm	_IFG,4,2                        ## @IFG
	.comm	_TX_DMA_BURST,4,2               ## @TX_DMA_BURST
	.comm	_TxDMAShift,4,2                 ## @TxDMAShift
	.comm	_Config1,4,2                    ## @Config1
	.comm	_DriverLoaded,4,2               ## @DriverLoaded
	.comm	_PMEnable,4,2                   ## @PMEnable
	.comm	_Config3,4,2                    ## @Config3
	.comm	_PARMEnable,4,2                 ## @PARMEnable
	.comm	_Config5,4,2                    ## @Config5
	.comm	_PMEStatus,4,2                  ## @PMEStatus
	.comm	_MultiIntr,4,2                  ## @MultiIntr
	.comm	_Cfg9346_Lock,4,2               ## @Cfg9346_Lock
	.no_dead_strip	_cp_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_init_hw
_cp_init_hw:                            ; @cp_init_hw
	.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, x0
	ldr	x20, [x0, #8]
	bl	_cp_reset_hw
Lloh0:
	adrp	x22, _Cfg9346@GOTPAGE
Lloh1:
	ldr	x22, [x22, _Cfg9346@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _Cfg9346_Unlock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Cfg9346_Unlock@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_cpw8_f
Lloh5:
	adrp	x23, _MAC0@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAC0@GOTPAGEOFF]
	ldr	x21, [x23]
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	x1, x0
	mov	x0, x21
	bl	_cpw32_f
	ldr	x8, [x23]
	add	x21, x8, #4
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	mov	x1, x0
	mov	x0, x21
	bl	_cpw32_f
	mov	x0, x19
	bl	_cp_start_hw
Lloh7:
	adrp	x8, _TxThresh@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TxThresh@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #6
	bl	_cpw8
	mov	x0, x20
	bl	___cp_set_rx_mode
Lloh10:
	adrp	x8, _TxConfig@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TxConfig@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _IFG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IFG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _TX_DMA_BURST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _TX_DMA_BURST@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _TxDMAShift@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TxDMAShift@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w9, w8
	bl	_cpw32_f
Lloh22:
	adrp	x8, _Config1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _Config1@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_cpr8
Lloh25:
	adrp	x8, _DriverLoaded@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DriverLoaded@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh28:
	adrp	x9, _PMEnable@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PMEnable@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_cpw8
Lloh31:
	adrp	x8, _Config3@GOTPAGE
Lloh32:
	ldr	x8, [x8, _Config3@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _PARMEnable@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PARMEnable@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_cpw8
	str	xzr, [x19]
Lloh37:
	adrp	x8, _Config5@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Config5@GOTPAGEOFF]
Lloh39:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_cpr8
Lloh40:
	adrp	x8, _PMEStatus@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PMEStatus@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	and	w1, w8, w0
	mov	x0, x19
	bl	_cpw8
Lloh43:
	adrp	x8, _MultiIntr@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MultiIntr@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cpw16
	ldr	w0, [x22]
Lloh46:
	adrp	x8, _Cfg9346_Lock@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Cfg9346_Lock@GOTPAGEOFF]
Lloh48:
	ldr	w1, [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
	b	_cpw8_f
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Cfg9346,4,2                    ; @Cfg9346
	.comm	_Cfg9346_Unlock,4,2             ; @Cfg9346_Unlock
	.comm	_MAC0,8,3                       ; @MAC0
	.comm	_TxThresh,4,2                   ; @TxThresh
	.comm	_TxConfig,8,3                   ; @TxConfig
	.comm	_IFG,4,2                        ; @IFG
	.comm	_TX_DMA_BURST,4,2               ; @TX_DMA_BURST
	.comm	_TxDMAShift,4,2                 ; @TxDMAShift
	.comm	_Config1,4,2                    ; @Config1
	.comm	_DriverLoaded,4,2               ; @DriverLoaded
	.comm	_PMEnable,4,2                   ; @PMEnable
	.comm	_Config3,4,2                    ; @Config3
	.comm	_PARMEnable,4,2                 ; @PARMEnable
	.comm	_Config5,4,2                    ; @Config5
	.comm	_PMEStatus,4,2                  ; @PMEStatus
	.comm	_MultiIntr,4,2                  ; @MultiIntr
	.comm	_Cfg9346_Lock,4,2               ; @Cfg9346_Lock
	.no_dead_strip	_cp_init_hw
.subsections_via_symbols
