	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_isi
_set_isi:                               ## @set_isi
	.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	_NO_STREAM_ID_FILTER@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %ebx
	cmpl	$-2147483648, %esi              ## imm = 0x80000000
	jne	LBB0_3
## %bb.2:
	movq	_FORCE_CONTINUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_SET_FIELD
	movq	_TSOUT_NOSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_SET_FIELD
	jmp	LBB0_4
LBB0_3:
	movq	%rdi, %r14
	movq	_FILTER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_SET_FIELD
	movq	_RSTV0910_P2_ISIENTRY@GOTPCREL(%rip), %rax
	movq	(%r14), %rsi
	addq	(%rax), %rsi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_write_reg
	movq	_RSTV0910_P2_ISIBITENA@GOTPCREL(%rip), %rax
	movq	(%r14), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_write_reg
LBB0_4:
	movq	_ALGOSWRST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_SET_FIELD
	movl	(%rbx), %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SET_FIELD                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_STREAM_ID_FILTER,4,2        ## @NO_STREAM_ID_FILTER
	.comm	_FORCE_CONTINUOUS,4,2           ## @FORCE_CONTINUOUS
	.comm	_TSOUT_NOSYNC,4,2               ## @TSOUT_NOSYNC
	.comm	_FILTER_EN,4,2                  ## @FILTER_EN
	.comm	_RSTV0910_P2_ISIENTRY,8,3       ## @RSTV0910_P2_ISIENTRY
	.comm	_RSTV0910_P2_ISIBITENA,8,3      ## @RSTV0910_P2_ISIBITENA
	.comm	_ALGOSWRST,4,2                  ## @ALGOSWRST
	.no_dead_strip	_set_isi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_isi
_set_isi:                               ; @set_isi
	.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
Lloh0:
	adrp	x8, _NO_STREAM_ID_FILTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_STREAM_ID_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	mov	w8, #-2147483648
	cmp	w1, w8
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _FORCE_CONTINUOUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORCE_CONTINUOUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_SET_FIELD
Lloh6:
	adrp	x8, _TSOUT_NOSYNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TSOUT_NOSYNC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_SET_FIELD
	b	LBB0_5
LBB0_4:
	mov	x19, x0
Lloh9:
	adrp	x8, _FILTER_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILTER_EN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_SET_FIELD
Lloh12:
	adrp	x8, _RSTV0910_P2_ISIENTRY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSTV0910_P2_ISIENTRY@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x1, x9, x8
	and	w2, w20, #0xff
	mov	x0, x19
	bl	_write_reg
Lloh15:
	adrp	x8, _RSTV0910_P2_ISIBITENA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSTV0910_P2_ISIBITENA@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x0, x19
	mov	w2, #255
	bl	_write_reg
LBB0_5:
Lloh18:
	adrp	x19, _ALGOSWRST@GOTPAGE
Lloh19:
	ldr	x19, [x19, _ALGOSWRST@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #1
	bl	_SET_FIELD
	ldr	w0, [x19]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SET_FIELD
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_STREAM_ID_FILTER,4,2        ; @NO_STREAM_ID_FILTER
	.comm	_FORCE_CONTINUOUS,4,2           ; @FORCE_CONTINUOUS
	.comm	_TSOUT_NOSYNC,4,2               ; @TSOUT_NOSYNC
	.comm	_FILTER_EN,4,2                  ; @FILTER_EN
	.comm	_RSTV0910_P2_ISIENTRY,8,3       ; @RSTV0910_P2_ISIENTRY
	.comm	_RSTV0910_P2_ISIBITENA,8,3      ; @RSTV0910_P2_ISIBITENA
	.comm	_ALGOSWRST,4,2                  ; @ALGOSWRST
	.no_dead_strip	_set_isi
.subsections_via_symbols
