	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_cascade_reset
_hp100_cascade_reset:                   ## @hp100_cascade_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_HP100_HW_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	_HP100_RESET_LB@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_OPTION_LSW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hp100_outw
	movq	(%r14), %rax
	movq	_HP100_CHIPID_LASSEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	_HW_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hp100_page
	movq	_HP100_PCI_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	notl	%edi
	movq	_PCICTRL2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_hp100_andb
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_hp100_orb
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
	movl	(%r14), %edi
	notl	%edi
	movl	(%rbx), %esi
	callq	_hp100_andb
	jmp	LBB0_4
LBB0_3:
	movq	_HP100_SET_LB@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_OPTION_LSW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hp100_outw
	movl	$400, %edi                      ## imm = 0x190
	callq	_udelay
LBB0_4:
	movq	_PERFORMANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hp100_page                     ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HP100_HW_RST,4,2               ## @HP100_HW_RST
	.comm	_HP100_RESET_LB,4,2             ## @HP100_RESET_LB
	.comm	_OPTION_LSW,4,2                 ## @OPTION_LSW
	.comm	_HP100_CHIPID_LASSEN,8,3        ## @HP100_CHIPID_LASSEN
	.comm	_HW_MAP,4,2                     ## @HW_MAP
	.comm	_HP100_PCI_RESET,4,2            ## @HP100_PCI_RESET
	.comm	_PCICTRL2,4,2                   ## @PCICTRL2
	.comm	_PERFORMANCE,4,2                ## @PERFORMANCE
	.comm	_HP100_SET_LB,4,2               ## @HP100_SET_LB
	.comm	_TRACE,4,2                      ## @TRACE
	.no_dead_strip	_hp100_cascade_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_cascade_reset
_hp100_cascade_reset:                   ; @hp100_cascade_reset
	.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	x20, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _HP100_HW_RST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HP100_HW_RST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x9, _HP100_RESET_LB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HP100_RESET_LB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x8, _OPTION_LSW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPTION_LSW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_hp100_outw
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _HP100_CHIPID_LASSEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HP100_CHIPID_LASSEN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh12:
	adrp	x8, _HW_MAP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HW_MAP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_hp100_page
Lloh15:
	adrp	x19, _HP100_PCI_RESET@GOTPAGE
Lloh16:
	ldr	x19, [x19, _HP100_PCI_RESET@GOTPAGEOFF]
	ldr	w8, [x19]
	mvn	w0, w8
Lloh17:
	adrp	x20, _PCICTRL2@GOTPAGE
Lloh18:
	ldr	x20, [x20, _PCICTRL2@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_hp100_andb
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_hp100_orb
	mov	w0, #400
	bl	_udelay
	ldr	w8, [x19]
	mvn	w0, w8
	ldr	w1, [x20]
	bl	_hp100_andb
	b	LBB0_4
LBB0_3:
Lloh19:
	adrp	x9, _HP100_SET_LB@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HP100_SET_LB@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh22:
	adrp	x8, _OPTION_LSW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OPTION_LSW@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_hp100_outw
	mov	w0, #400
	bl	_udelay
LBB0_4:
Lloh25:
	adrp	x8, _PERFORMANCE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PERFORMANCE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hp100_page
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_HP100_HW_RST,4,2               ; @HP100_HW_RST
	.comm	_HP100_RESET_LB,4,2             ; @HP100_RESET_LB
	.comm	_OPTION_LSW,4,2                 ; @OPTION_LSW
	.comm	_HP100_CHIPID_LASSEN,8,3        ; @HP100_CHIPID_LASSEN
	.comm	_HW_MAP,4,2                     ; @HW_MAP
	.comm	_HP100_PCI_RESET,4,2            ; @HP100_PCI_RESET
	.comm	_PCICTRL2,4,2                   ; @PCICTRL2
	.comm	_PERFORMANCE,4,2                ; @PERFORMANCE
	.comm	_HP100_SET_LB,4,2               ; @HP100_SET_LB
	.comm	_TRACE,4,2                      ; @TRACE
	.no_dead_strip	_hp100_cascade_reset
.subsections_via_symbols
