	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdtimeout                     ## -- Begin function cmdtimeout
	.p2align	4, 0x90
_cmdtimeout:                            ## @cmdtimeout
	.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	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	xorl	%edi, %edi
	callq	_alarmtimer
	movq	_fromatty@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fileno
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_write
LBB0_2:
	movq	_timeoutflag@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_ptflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ptabort@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_siglongjmp
LBB0_4:
	movl	%ebx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_fromatty,8,3                   ## @fromatty
	.comm	_ttyout,4,2                     ## @ttyout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_timeoutflag,4,2                ## @timeoutflag
	.comm	_ptflag,8,3                     ## @ptflag
	.comm	_ptabort,4,2                    ## @ptabort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdtimeout                     ; -- Begin function cmdtimeout
	.p2align	2
_cmdtimeout:                            ; @cmdtimeout
	.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	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w20, [x19]
	mov	w0, #0
	bl	_alarmtimer
Lloh2:
	adrp	x8, _fromatty@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fromatty@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ttyout@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_fileno
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_write
LBB0_2:
Lloh10:
	adrp	x8, _timeoutflag@GOTPAGE
Lloh11:
	ldr	x8, [x8, _timeoutflag@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh12:
	adrp	x8, _ptflag@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ptflag@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _ptabort@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ptabort@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_siglongjmp
LBB0_4:
	str	w20, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_fromatty,8,3                   ; @fromatty
	.comm	_ttyout,4,2                     ; @ttyout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_timeoutflag,4,2                ; @timeoutflag
	.comm	_ptflag,8,3                     ; @ptflag
	.comm	_ptabort,4,2                    ; @ptabort
.subsections_via_symbols
