	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_gazel
_reset_gazel:                           ## @reset_gazel
	.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
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_PLX_CNTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	addl	%r14d, %edi
	callq	_inl
	movq	_RESET_9050@GOTPCREL(%rip), %rcx
	movq	_RESET_GAZEL@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	addq	(%rcx), %rbx
	orq	%rax, %rbx
	movl	(%r13), %esi
	addl	%r14d, %esi
	movq	%rbx, %rdi
	callq	_outl
	movq	(%r12), %r12
	movq	_RESET_9050@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	notq	%r12
	andq	%rbx, %r12
	movq	_IPAC_POTA2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$32, %edx
	callq	_WriteISAC
	movl	$4, %edi
	callq	_HZDELAY
	movl	(%r13), %esi
	addl	%r14d, %esi
	movq	%r12, %rdi
	callq	_outl
	movl	$10, %edi
	callq	_HZDELAY
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_IPAC_ACFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_IPAC_AOE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_IPAC_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_IPAC_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_WriteISAC
	movq	_INT_IPAC_EN@GOTPCREL(%rip), %rax
	movq	_INT_PCI_EN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movq	_PLX_INCSR@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_outb
	jmp	LBB0_6
LBB0_5:
	movq	_IPAC_POTA2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$32, %edx
	callq	_WriteISAC
	movl	$4, %edi
	callq	_HZDELAY
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_IPAC_ACFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_IPAC_AOE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WriteISAC
	movq	_IPAC_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$255, %edx
	callq	_WriteISAC
	movq	_IPAC_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_WriteISAC
LBB0_6:
	movl	(%rbx), %esi
	addl	$-128, %esi
	movq	%r15, %rdi
	movl	$192, %edx
	callq	_WriteISAC
	jmp	LBB0_7
LBB0_3:
	movq	_PLX_CNTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	addl	%r14d, %edi
	callq	_inl
	movq	_RESET_9050@GOTPCREL(%rip), %r13
	movq	_RESET_GAZEL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r15
	addq	(%r13), %r15
	orq	%rax, %r15
	movl	(%r12), %esi
	addl	%r14d, %esi
	movq	%r15, %rdi
	callq	_outl
	movq	(%rbx), %rbx
	addq	(%r13), %rbx
	notq	%rbx
	andq	%r15, %rbx
	movl	$4, %edi
	callq	_HZDELAY
	movl	(%r12), %esi
	addl	%r14d, %esi
	movq	%rbx, %rdi
	callq	_outl
	movl	$10, %edi
	callq	_HZDELAY
	movq	_INT_ISAC_EN@GOTPCREL(%rip), %rax
	movq	_INT_HSCX_EN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movq	_INT_PCI_EN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_PLX_INCSR@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_outb
	jmp	LBB0_7
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_writereg
	movl	$10, %edi
	callq	_HZDELAY
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_writereg
	movl	$2, %edi
	callq	_HZDELAY
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_PLX_CNTRL,4,2                  ## @PLX_CNTRL
	.comm	_RESET_9050,8,3                 ## @RESET_9050
	.comm	_RESET_GAZEL,8,3                ## @RESET_GAZEL
	.comm	_INT_ISAC_EN,8,3                ## @INT_ISAC_EN
	.comm	_INT_HSCX_EN,8,3                ## @INT_HSCX_EN
	.comm	_INT_PCI_EN,8,3                 ## @INT_PCI_EN
	.comm	_PLX_INCSR,4,2                  ## @PLX_INCSR
	.comm	_IPAC_POTA2,4,2                 ## @IPAC_POTA2
	.comm	_IPAC_ACFG,4,2                  ## @IPAC_ACFG
	.comm	_IPAC_AOE,4,2                   ## @IPAC_AOE
	.comm	_IPAC_MASK,4,2                  ## @IPAC_MASK
	.comm	_IPAC_CONF,4,2                  ## @IPAC_CONF
	.comm	_INT_IPAC_EN,8,3                ## @INT_IPAC_EN
	.no_dead_strip	_reset_gazel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_gazel
_reset_gazel:                           ; @reset_gazel
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x22, _PLX_CNTRL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PLX_CNTRL@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w0, w8, w20
	bl	_inl
Lloh4:
	adrp	x23, _RESET_9050@GOTPAGE
Lloh5:
	ldr	x23, [x23, _RESET_9050@GOTPAGEOFF]
Lloh6:
	adrp	x24, _RESET_GAZEL@GOTPAGE
Lloh7:
	ldr	x24, [x24, _RESET_GAZEL@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x24]
	add	x8, x9, x8
	orr	x21, x8, x0
	ldr	w8, [x22]
	add	w1, w8, w20
	mov	x0, x21
	bl	_outl
	ldr	x8, [x23]
	ldr	x9, [x24]
	add	x8, x9, x8
	bic	x21, x21, x8
Lloh8:
	adrp	x23, _IPAC_POTA2@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IPAC_POTA2@GOTPAGEOFF]
	ldr	w8, [x23]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #32
	bl	_WriteISAC
	mov	w0, #4
	bl	_HZDELAY
	ldr	w8, [x22]
	add	w1, w8, w20
	mov	x0, x21
	bl	_outl
	mov	w0, #10
	bl	_HZDELAY
	ldr	w8, [x23]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh10:
	adrp	x8, _IPAC_ACFG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPAC_ACFG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh13:
	adrp	x8, _IPAC_AOE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPAC_AOE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh16:
	adrp	x21, _IPAC_MASK@GOTPAGE
Lloh17:
	ldr	x21, [x21, _IPAC_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh18:
	adrp	x8, _IPAC_CONF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IPAC_CONF@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #1
	bl	_WriteISAC
Lloh21:
	adrp	x8, _INT_IPAC_EN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INT_IPAC_EN@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _INT_PCI_EN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _INT_PCI_EN@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh27:
	adrp	x8, _PLX_INCSR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PLX_INCSR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_outb
	ldr	w8, [x21]
	b	LBB0_4
LBB0_3:
Lloh30:
	adrp	x20, _IPAC_POTA2@GOTPAGE
Lloh31:
	ldr	x20, [x20, _IPAC_POTA2@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #32
	bl	_WriteISAC
	mov	w0, #4
	bl	_HZDELAY
	ldr	w8, [x20]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh32:
	adrp	x8, _IPAC_ACFG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IPAC_ACFG@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh35:
	adrp	x8, _IPAC_AOE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IPAC_AOE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #0
	bl	_WriteISAC
Lloh38:
	adrp	x20, _IPAC_MASK@GOTPAGE
Lloh39:
	ldr	x20, [x20, _IPAC_MASK@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #255
	bl	_WriteISAC
Lloh40:
	adrp	x8, _IPAC_CONF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IPAC_CONF@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #1
	bl	_WriteISAC
	ldr	w8, [x20]
LBB0_4:
	sub	w1, w8, #128
	mov	x0, x19
	mov	w2, #192
	bl	_WriteISAC
	b	LBB0_7
LBB0_5:
Lloh43:
	adrp	x21, _PLX_CNTRL@GOTPAGE
Lloh44:
	ldr	x21, [x21, _PLX_CNTRL@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w0, w8, w20
	bl	_inl
Lloh45:
	adrp	x22, _RESET_9050@GOTPAGE
Lloh46:
	ldr	x22, [x22, _RESET_9050@GOTPAGEOFF]
Lloh47:
	adrp	x23, _RESET_GAZEL@GOTPAGE
Lloh48:
	ldr	x23, [x23, _RESET_GAZEL@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x8, x9, x8
	orr	x19, x8, x0
	ldr	w8, [x21]
	add	w1, w8, w20
	mov	x0, x19
	bl	_outl
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x8, x9, x8
	bic	x19, x19, x8
	mov	w0, #4
	bl	_HZDELAY
	ldr	w8, [x21]
	add	w1, w8, w20
	mov	x0, x19
	bl	_outl
	mov	w0, #10
	bl	_HZDELAY
Lloh49:
	adrp	x8, _INT_ISAC_EN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _INT_ISAC_EN@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
Lloh52:
	adrp	x9, _INT_HSCX_EN@GOTPAGE
Lloh53:
	ldr	x9, [x9, _INT_HSCX_EN@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
Lloh55:
	adrp	x10, _INT_PCI_EN@GOTPAGE
Lloh56:
	ldr	x10, [x10, _INT_PCI_EN@GOTPAGEOFF]
Lloh57:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x0, x8, x10
Lloh58:
	adrp	x8, _PLX_INCSR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PLX_INCSR@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	add	w1, w8, w20
	bl	_outb
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_writereg
	mov	w0, #10
	bl	_HZDELAY
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_writereg
	mov	w0, #2
	bl	_HZDELAY
LBB0_7:
	mov	w0, #0
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_PLX_CNTRL,4,2                  ; @PLX_CNTRL
	.comm	_RESET_9050,8,3                 ; @RESET_9050
	.comm	_RESET_GAZEL,8,3                ; @RESET_GAZEL
	.comm	_INT_ISAC_EN,8,3                ; @INT_ISAC_EN
	.comm	_INT_HSCX_EN,8,3                ; @INT_HSCX_EN
	.comm	_INT_PCI_EN,8,3                 ; @INT_PCI_EN
	.comm	_PLX_INCSR,4,2                  ; @PLX_INCSR
	.comm	_IPAC_POTA2,4,2                 ; @IPAC_POTA2
	.comm	_IPAC_ACFG,4,2                  ; @IPAC_ACFG
	.comm	_IPAC_AOE,4,2                   ; @IPAC_AOE
	.comm	_IPAC_MASK,4,2                  ; @IPAC_MASK
	.comm	_IPAC_CONF,4,2                  ; @IPAC_CONF
	.comm	_INT_IPAC_EN,8,3                ; @INT_IPAC_EN
	.no_dead_strip	_reset_gazel
.subsections_via_symbols
