	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function detect
_detect:                                ## @detect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_timeout@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_timeoutbuf@GOTPCREL(%rip), %r14
	leaq	-41(%rbp), %r15
	movl	$1, %r12d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	movl	(%r14), %edi
	callq	_setjmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_DIALTIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	movl	%eax, %edi
	callq	_alarm
	movq	_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_read
	movl	%ebx, %edi
	callq	_alarm
	movzbl	-41(%rbp), %ecx
	leaq	1(%r13), %rax
	cmpb	(%r13), %cl
	je	LBB0_1
	jmp	LBB0_5
LBB0_3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_biz31_abort
LBB0_5:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_signal
	xorl	%eax, %eax
	movq	_timeout@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	sete	%cl
	movb	%cl, %al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_sigALRM,4,2                    ## @sigALRM
	.comm	_timeout,8,3                    ## @timeout
	.comm	_timeoutbuf,4,2                 ## @timeoutbuf
	.comm	_DIALTIMEOUT,4,2                ## @DIALTIMEOUT
	.comm	_FD,4,2                         ## @FD
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"\007timeout waiting for reply"

	.no_dead_strip	_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function detect
_detect:                                ; @detect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x0
Lloh0:
	adrp	x23, _SIGALRM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SIGALRM@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _sigALRM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sigALRM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_signal
	mov	x19, x0
	mov	x8, #0
Lloh5:
	adrp	x24, _timeout@GOTPAGE
Lloh6:
	ldr	x24, [x24, _timeout@GOTPAGEOFF]
Lloh7:
	adrp	x25, _timeoutbuf@GOTPAGE
Lloh8:
	ldr	x25, [x25, _timeoutbuf@GOTPAGEOFF]
Lloh9:
	adrp	x26, _DIALTIMEOUT@GOTPAGE
Lloh10:
	ldr	x26, [x26, _DIALTIMEOUT@GOTPAGEOFF]
	str	xzr, [x24]
Lloh11:
	adrp	x27, _FD@GOTPAGE
Lloh12:
	ldr	x27, [x27, _FD@GOTPAGEOFF]
	add	x20, sp, #15
	mov	w21, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x25]
	bl	_setjmp
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x26]
	bl	_value
	bl	_number
	bl	_alarm
	ldr	w0, [x27]
	mov	x1, x20
	mov	x2, x21
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldrb	w8, [sp, #15]
	ldrb	w9, [x22], #1
	cmp	w8, w9
	b.eq	LBB0_1
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	bl	_biz31_abort
LBB0_5:
	ldr	w0, [x23]
	mov	x1, x19
	bl	_signal
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_sigALRM,4,2                    ; @sigALRM
	.comm	_timeout,8,3                    ; @timeout
	.comm	_timeoutbuf,4,2                 ; @timeoutbuf
	.comm	_DIALTIMEOUT,4,2                ; @DIALTIMEOUT
	.comm	_FD,4,2                         ; @FD
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"\007timeout waiting for reply"

	.no_dead_strip	_detect
.subsections_via_symbols
