	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __setInterruptRegs
___setInterruptRegs:                    ## @__setInterruptRegs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ecx
	movl	$1, %eax
	testb	$1, %cl
	je	LBB0_2
## %bb.1:
	movl	4(%rdi), %eax
	incl	%eax
LBB0_2:
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	incl	%edx
	orl	$4096, %edx                     ## imm = 0x1000
	movq	_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edx, 96(%rcx)
	movl	%eax, 100(%rcx)
	movl	$24, %edi
	callq	_VI_REGCHANGE
	movq	_changed@GOTPCREL(%rip), %rbx
	orl	%eax, (%rbx)
	movl	$25, %edi
	callq	_VI_REGCHANGE
	orl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_regs,8,3                       ## @regs
	.comm	_changed,4,2                    ## @changed
	.no_dead_strip	___setInterruptRegs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __setInterruptRegs
___setInterruptRegs:                    ; @__setInterruptRegs
	.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
	ldr	w9, [x0]
	tbnz	w9, #0, LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	ldr	w8, [x0, #4]
	add	w8, w8, #1
LBB0_3:
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	w9, w9, #1
Lloh0:
	adrp	x10, _regs@GOTPAGE
Lloh1:
	ldr	x10, [x10, _regs@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	orr	w9, w9, #0x1000
	stp	w9, w8, [x10, #96]
	mov	w0, #24
	bl	_VI_REGCHANGE
Lloh3:
	adrp	x19, _changed@GOTPAGE
Lloh4:
	ldr	x19, [x19, _changed@GOTPAGEOFF]
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	mov	w0, #25
	bl	_VI_REGCHANGE
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_regs,8,3                       ; @regs
	.comm	_changed,4,2                    ; @changed
	.no_dead_strip	___setInterruptRegs
.subsections_via_symbols
