	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_all_timeouts           ## -- Begin function disable_all_timeouts
	.p2align	4, 0x90
_disable_all_timeouts:                  ## @disable_all_timeouts
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_disable_alarm
	movq	_num_active_timeouts@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_MemSet
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_setitimer
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movq	$0, (%r15)
	movq	_MAX_TIMEOUTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.4:
	movq	_all_timeouts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rcx,%rdx,8)
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, 4(%rcx,%rdx,8)
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_active_timeouts,8,3        ## @num_active_timeouts
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not disable SIGALRM timer: %m"

	.comm	_MAX_TIMEOUTS,4,2               ## @MAX_TIMEOUTS
	.comm	_all_timeouts,8,3               ## @all_timeouts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_all_timeouts           ; -- Begin function disable_all_timeouts
	.p2align	2
_disable_all_timeouts:                  ; @disable_all_timeouts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_disable_alarm
Lloh0:
	adrp	x20, _num_active_timeouts@GOTPAGE
Lloh1:
	ldr	x20, [x20, _num_active_timeouts@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_MemSet
Lloh2:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_setitimer
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	str	xzr, [x20]
Lloh10:
	adrp	x8, _MAX_TIMEOUTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_TIMEOUTS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x9, #0
Lloh12:
	adrp	x10, _all_timeouts@GOTPAGE
Lloh13:
	ldr	x10, [x10, _all_timeouts@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	add	x10, x10, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	ldrsw	x11, [x8]
	add	x10, x10, #8
	cmp	x9, x11
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x10, #-4]
	cbnz	w19, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x10]
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_num_active_timeouts,8,3        ; @num_active_timeouts
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not disable SIGALRM timer: %m"

	.comm	_MAX_TIMEOUTS,4,2               ; @MAX_TIMEOUTS
	.comm	_all_timeouts,8,3               ; @all_timeouts
.subsections_via_symbols
