	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_I_SoundSetTimer                ## -- Begin function I_SoundSetTimer
	.p2align	4, 0x90
_I_SoundSetTimer:                       ## @I_SoundSetTimer
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_I_HandleSoundTimer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_SA_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_sig@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_sigaction
	movq	$0, -24(%rbp)
	movl	%ebx, -32(%rbp)
	movq	$0, -40(%rbp)
	movl	%ebx, -48(%rbp)
	movq	_itimer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	callq	_setitimer
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I_HandleSoundTimer,4,2         ## @I_HandleSoundTimer
	.comm	_SA_RESTART,4,2                 ## @SA_RESTART
	.comm	_sig,4,2                        ## @sig
	.comm	_itimer,4,2                     ## @itimer
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I_SoundSetTimer: interrupt n.a.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_I_SoundSetTimer                ; -- Begin function I_SoundSetTimer
	.p2align	2
_I_SoundSetTimer:                       ; @I_SoundSetTimer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _I_HandleSoundTimer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I_HandleSoundTimer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SA_RESTART@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SA_RESTART@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh6:
	adrp	x8, _sig@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sig@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	_sigaction
	str	xzr, [sp, #72]
	str	w19, [sp, #64]
	str	xzr, [sp, #56]
	str	w19, [sp, #48]
Lloh9:
	adrp	x8, _itimer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _itimer@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, sp, #48
	add	x2, sp, #16
	bl	_setitimer
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I_HandleSoundTimer,4,2         ; @I_HandleSoundTimer
	.comm	_SA_RESTART,4,2                 ; @SA_RESTART
	.comm	_sig,4,2                        ; @sig
	.comm	_itimer,4,2                     ; @itimer
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I_SoundSetTimer: interrupt n.a.\n"

.subsections_via_symbols
