	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_reset                      ## -- Begin function ice_reset
	.p2align	4, 0x90
_ice_reset:                             ## @ice_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$130, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$128, %esi
	jne	LBB0_4
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_pf_reset                   ## TAILCALL
LBB0_1:
	movq	_GLGEN_RTRIG_CORER_M@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	_GLGEN_RTRIG_GLOBR_M@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	_ICE_DBG_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ice_debug
	movl	(%rbx), %ebx
	movq	_GLGEN_RTRIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rd32
	orl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_wr32
	movq	%r14, %rdi
	callq	_ice_flush
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_check_reset                ## TAILCALL
LBB0_4:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_DBG_INIT,4,2               ## @ICE_DBG_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CoreR requested\n"

	.comm	_GLGEN_RTRIG_CORER_M,4,2        ## @GLGEN_RTRIG_CORER_M
L_.str.1:                               ## @.str.1
	.asciz	"GlobalR requested\n"

	.comm	_GLGEN_RTRIG_GLOBR_M,4,2        ## @GLGEN_RTRIG_GLOBR_M
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_GLGEN_RTRIG,4,2                ## @GLGEN_RTRIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_reset                      ; -- Begin function ice_reset
	.p2align	2
_ice_reset:                             ; @ice_reset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ice_pf_reset
LBB0_4:
Lloh0:
	adrp	x20, _GLGEN_RTRIG_CORER_M@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GLGEN_RTRIG_CORER_M@GOTPAGEOFF]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x20, _GLGEN_RTRIG_GLOBR_M@GOTPAGE
Lloh5:
	ldr	x20, [x20, _GLGEN_RTRIG_GLOBR_M@GOTPAGEOFF]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
Lloh8:
	adrp	x8, _ICE_DBG_INIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICE_DBG_INIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ice_debug
	ldr	w20, [x20]
Lloh11:
	adrp	x21, _GLGEN_RTRIG@GOTPAGE
Lloh12:
	ldr	x21, [x21, _GLGEN_RTRIG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd32
	orr	w2, w0, w20
	ldr	w1, [x21]
	mov	x0, x19
	bl	_wr32
	mov	x0, x19
	bl	_ice_flush
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ice_check_reset
LBB0_7:
Lloh13:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_DBG_INIT,4,2               ; @ICE_DBG_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CoreR requested\n"

	.comm	_GLGEN_RTRIG_CORER_M,4,2        ; @GLGEN_RTRIG_CORER_M
l_.str.1:                               ; @.str.1
	.asciz	"GlobalR requested\n"

	.comm	_GLGEN_RTRIG_GLOBR_M,4,2        ; @GLGEN_RTRIG_GLOBR_M
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_GLGEN_RTRIG,4,2                ; @GLGEN_RTRIG
.subsections_via_symbols
