	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function supervise
_supervise:                             ## @supervise
	.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, %rbx
	movl	$3, %edi
	callq	_debug_called
	movq	8(%rbx), %rax
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_vflag@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:
	leaq	L_str.16(%rip), %rdi
	callq	_puts
LBB0_5:
	movq	_SESS_FULLFEATURE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_setOptions
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_33
## %bb.6:
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.17:
	movl	4(%rbx), %edi
	movq	_ISCSIRESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_14
LBB0_1:
	movq	_SESS_DISCONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_T9@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_7:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_daemon
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_getpid
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_fprintf
	movq	%r14, %rdi
	callq	_fclose
LBB0_12:
	movq	_LOG_CONS@GOTPCREL(%rip), %rax
	movq	_LOG_PERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_LOG_PID@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LOG_NDELAY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_LOG_KERN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	callq	_openlog
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	_currsess@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movl	4(%rbx), %edi
	movq	_ISCSISTART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_13
## %bb.15:
	movq	%rbx, %rdi
	callq	_doCAM
	testq	%rax, %rax
	je	LBB0_16
LBB0_19:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_trap@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_signal
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_signal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -44(%rbp)
	movl	(%r14), %esi
	callq	_signal
	movl	4(%rbx), %edi
	movq	_ISCSISIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	xorl	%eax, %eax
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_20
## %bb.21:
	movl	(%rbx), %ecx
	orl	(%r15), %ecx
	movl	%ecx, (%rbx)
	movq	_SESS_REDIRECT@GOTPCREL(%rip), %r13
	movq	_SESS_RECONNECT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	(%r13), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	cmpq	$0, (%r12)
	je	LBB0_23
## %bb.22:
	leaq	L_str.15(%rip), %rdi
	callq	_puts
	movl	(%rbx), %eax
LBB0_23:
	movl	(%r14), %ecx
	orl	(%r13), %ecx
	movq	_SESS_DISCONNECT@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	testl	%eax, %ecx
	jne	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	$60, %edi
	callq	_sleep
	movl	(%r14), %eax
	orl	(%r13), %eax
	orl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_24
LBB0_25:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	$0, -44(%rbp)
	movl	4(%rbx), %edi
	movq	_ISCSISIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	xorl	%eax, %eax
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_26
LBB0_27:
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_29
## %bb.28:
	movl	(%r15), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	_T9@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_29:
	movl	$0, -48(%rbp)
	movl	4(%rbx), %edi
	movq	_ISCSISTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	xorl	%eax, %eax
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_30
LBB0_31:
	movq	_SESS_INITIALLOGIN1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_T8@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_16:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	4(%rbx), %edi
	movq	_ISCSISTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_ioctl
	movq	_T15@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_14
LBB0_26:
	leaq	L_.str.10(%rip), %rdi
	callq	_perror
	jmp	LBB0_27
LBB0_8:
	callq	_supervise.cold.1
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_13:
	leaq	L_.str.7(%rip), %rdi
LBB0_14:
	callq	_perror
	movl	$-1, %eax
	jmp	LBB0_33
LBB0_30:
	leaq	L_.str.14(%rip), %rdi
	callq	_perror
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function supervise.cold.1
_supervise.cold.1:                      ## @supervise.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Discovery"

	.comm	_SESS_DISCONNECT,4,2            ## @SESS_DISCONNECT
	.comm	_T9,4,2                         ## @T9
	.comm	_vflag,8,3                      ## @vflag
	.comm	_SESS_FULLFEATURE,4,2           ## @SESS_FULLFEATURE
L_.str.2:                               ## @.str.2
	.asciz	"daemon"

L_.str.3:                               ## @.str.3
	.asciz	"w"

L_.str.4:                               ## @.str.4
	.asciz	"%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"iscontrol"

	.comm	_LOG_CONS,4,2                   ## @LOG_CONS
	.comm	_LOG_PERROR,4,2                 ## @LOG_PERROR
	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ## @LOG_NDELAY
	.comm	_LOG_KERN,4,2                   ## @LOG_KERN
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.6:                               ## @.str.6
	.asciz	"running"

	.comm	_currsess,8,3                   ## @currsess
	.comm	_ISCSISTART,4,2                 ## @ISCSISTART
L_.str.7:                               ## @.str.7
	.asciz	"ISCSISTART"

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.8:                               ## @.str.8
	.asciz	"no device found"

	.comm	_ISCSISTOP,4,2                  ## @ISCSISTOP
	.comm	_T15,4,2                        ## @T15
	.comm	_ISCSIRESTART,4,2               ## @ISCSIRESTART
L_.str.9:                               ## @.str.9
	.asciz	"ISCSIRESTART"

	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_trap,4,2                       ## @trap
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_ISCSISIGNAL,4,2                ## @ISCSISIGNAL
L_.str.10:                              ## @.str.10
	.asciz	"ISCSISIGNAL"

	.comm	_SESS_REDIRECT,4,2              ## @SESS_REDIRECT
	.comm	_SESS_RECONNECT,4,2             ## @SESS_RECONNECT
L_.str.13:                              ## @.str.13
	.asciz	"sess flags=%x"

L_.str.14:                              ## @.str.14
	.asciz	"ISCSISTOP"

	.comm	_SESS_INITIALLOGIN1,4,2         ## @SESS_INITIALLOGIN1
	.comm	_T8,4,2                         ## @T8
L_str:                                  ## @str
	.asciz	"iscontrol: supervise going down"

L_str.15:                               ## @str.15
	.asciz	"iscontrol: supervise starting main loop"

L_str.16:                               ## @str.16
	.asciz	"ready to go scsi"

	.no_dead_strip	_supervise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function supervise
_supervise:                             ; @supervise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	mov	w0, #3
	bl	_debug_called
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x23, _vflag@GOTPAGE
Lloh3:
	ldr	x23, [x23, _vflag@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.2:
Lloh4:
	adrp	x0, l_str.16@PAGE
Lloh5:
	add	x0, x0, l_str.16@PAGEOFF
	bl	_puts
LBB0_3:
Lloh6:
	adrp	x21, _SESS_FULLFEATURE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SESS_FULLFEATURE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_setOptions
	cbz	x0, LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_26
LBB0_5:
Lloh8:
	adrp	x8, _SESS_DISCONNECT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SESS_DISCONNECT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_24
LBB0_6:
	ldr	w8, [x19]
	ldr	w9, [x21]
Lloh11:
	adrp	x22, _LOG_INFO@GOTPAGE
Lloh12:
	ldr	x22, [x22, _LOG_INFO@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	ldr	w0, [x19, #4]
Lloh13:
	adrp	x8, _ISCSIRESTART@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ISCSIRESTART@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_ioctl
	cbz	x0, LBB0_15
; %bb.8:
Lloh16:
	adrp	x0, l_.str.9@PAGE
Lloh17:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_33
LBB0_9:
	mov	w0, #0
	mov	w1, #1
	bl	_daemon
	cbnz	x0, LBB0_35
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_13
; %bb.11:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_13
; %bb.12:
	mov	x20, x0
	bl	_getpid
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	mov	x0, x20
	bl	_fclose
LBB0_13:
Lloh22:
	adrp	x8, _LOG_CONS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_CONS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _LOG_PERROR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _LOG_PERROR@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _LOG_PID@GOTPAGE
Lloh29:
	ldr	x9, [x9, _LOG_PID@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, _LOG_NDELAY@GOTPAGE
Lloh32:
	ldr	x10, [x10, _LOG_NDELAY@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh33:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh34:
	adrp	x8, _LOG_KERN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LOG_KERN@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x0, l_.str.5@PAGE
Lloh38:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_openlog
	ldr	w0, [x22]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_syslog
Lloh41:
	adrp	x8, _currsess@GOTPAGE
Lloh42:
	ldr	x8, [x8, _currsess@GOTPAGEOFF]
Lloh43:
	str	x19, [x8]
	ldr	w0, [x19, #4]
Lloh44:
	adrp	x8, _ISCSISTART@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ISCSISTART@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_ioctl
	cbnz	x0, LBB0_32
; %bb.14:
	mov	x0, x19
	bl	_doCAM
	cbz	x0, LBB0_29
LBB0_15:
Lloh47:
	adrp	x8, _SIGINT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x20, _trap@GOTPAGE
Lloh51:
	ldr	x20, [x20, _trap@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_signal
Lloh52:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh55:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh58:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	str	w0, [sp, #12]
	ldr	w1, [x20]
	bl	_signal
	ldr	w0, [x19, #4]
Lloh61:
	adrp	x20, _ISCSISIGNAL@GOTPAGE
Lloh62:
	ldr	x20, [x20, _ISCSISIGNAL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x8, sp, #12
	str	x8, [sp]
	bl	_ioctl
	cbnz	x0, LBB0_30
; %bb.16:
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh63:
	adrp	x24, _SESS_REDIRECT@GOTPAGE
Lloh64:
	ldr	x24, [x24, _SESS_REDIRECT@GOTPAGEOFF]
Lloh65:
	adrp	x25, _SESS_RECONNECT@GOTPAGE
Lloh66:
	ldr	x25, [x25, _SESS_RECONNECT@GOTPAGEOFF]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	x9, [x23]
	cbz	x9, LBB0_18
; %bb.17:
Lloh67:
	adrp	x0, l_str.15@PAGE
Lloh68:
	add	x0, x0, l_str.15@PAGEOFF
	bl	_puts
	ldr	w8, [x19]
LBB0_18:
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
Lloh69:
	adrp	x23, _SESS_DISCONNECT@GOTPAGE
Lloh70:
	ldr	x23, [x23, _SESS_DISCONNECT@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x23]
	orr	w9, w9, w10
	tst	w9, w8
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w0, #60
	bl	_sleep
	ldr	w8, [x19]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	b	LBB0_19
LBB0_21:
Lloh71:
	adrp	x0, l_str@PAGE
Lloh72:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w0, [x22]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh73:
	adrp	x1, l_.str.13@PAGE
Lloh74:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_syslog
	str	wzr, [sp, #12]
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	add	x8, sp, #12
	str	x8, [sp]
	bl	_ioctl
	cbnz	x0, LBB0_31
LBB0_22:
	ldr	w8, [x19]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.23:
	ldr	w9, [x21]
	bic	w8, w8, w9
LBB0_24:
	str	w8, [x19]
Lloh75:
	adrp	x8, _T9@GOTPAGE
Lloh76:
	ldr	x8, [x8, _T9@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
LBB0_26:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_27:
	str	wzr, [sp, #8]
	ldr	w0, [x19, #4]
Lloh77:
	adrp	x8, _ISCSISTOP@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ISCSISTOP@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	add	x8, sp, #8
	str	x8, [sp]
	bl	_ioctl
	cbnz	x0, LBB0_34
LBB0_28:
Lloh80:
	adrp	x8, _SESS_INITIALLOGIN1@GOTPAGE
Lloh81:
	ldr	x8, [x8, _SESS_INITIALLOGIN1@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh83:
	adrp	x8, _T8@GOTPAGE
Lloh84:
	ldr	x8, [x8, _T8@GOTPAGEOFF]
	b	LBB0_25
LBB0_29:
Lloh85:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh86:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
Lloh88:
	adrp	x1, l_.str.8@PAGE
Lloh89:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_syslog
	ldr	w0, [x19, #4]
Lloh90:
	adrp	x8, _ISCSISTOP@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ISCSISTOP@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	bl	_ioctl
Lloh93:
	adrp	x8, _T15@GOTPAGE
Lloh94:
	ldr	x8, [x8, _T15@GOTPAGEOFF]
	b	LBB0_25
LBB0_30:
Lloh95:
	adrp	x0, l_.str.10@PAGE
Lloh96:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_33
LBB0_31:
Lloh97:
	adrp	x0, l_.str.10@PAGE
Lloh98:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_perror
	b	LBB0_22
LBB0_32:
Lloh99:
	adrp	x0, l_.str.7@PAGE
Lloh100:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_33:
	bl	_perror
	mov	w0, #-1
	b	LBB0_26
LBB0_34:
Lloh101:
	adrp	x0, l_.str.14@PAGE
Lloh102:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_perror
	b	LBB0_28
LBB0_35:
	bl	_supervise.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function supervise.cold.1
_supervise.cold.1:                      ; @supervise.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh103:
	adrp	x0, l_.str.2@PAGE
Lloh104:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Discovery"

	.comm	_SESS_DISCONNECT,4,2            ; @SESS_DISCONNECT
	.comm	_T9,4,2                         ; @T9
	.comm	_vflag,8,3                      ; @vflag
	.comm	_SESS_FULLFEATURE,4,2           ; @SESS_FULLFEATURE
l_.str.2:                               ; @.str.2
	.asciz	"daemon"

l_.str.3:                               ; @.str.3
	.asciz	"w"

l_.str.4:                               ; @.str.4
	.asciz	"%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"iscontrol"

	.comm	_LOG_CONS,4,2                   ; @LOG_CONS
	.comm	_LOG_PERROR,4,2                 ; @LOG_PERROR
	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_NDELAY,4,2                 ; @LOG_NDELAY
	.comm	_LOG_KERN,4,2                   ; @LOG_KERN
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.6:                               ; @.str.6
	.asciz	"running"

	.comm	_currsess,8,3                   ; @currsess
	.comm	_ISCSISTART,4,2                 ; @ISCSISTART
l_.str.7:                               ; @.str.7
	.asciz	"ISCSISTART"

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.8:                               ; @.str.8
	.asciz	"no device found"

	.comm	_ISCSISTOP,4,2                  ; @ISCSISTOP
	.comm	_T15,4,2                        ; @T15
	.comm	_ISCSIRESTART,4,2               ; @ISCSIRESTART
l_.str.9:                               ; @.str.9
	.asciz	"ISCSIRESTART"

	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_trap,4,2                       ; @trap
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_ISCSISIGNAL,4,2                ; @ISCSISIGNAL
l_.str.10:                              ; @.str.10
	.asciz	"ISCSISIGNAL"

	.comm	_SESS_REDIRECT,4,2              ; @SESS_REDIRECT
	.comm	_SESS_RECONNECT,4,2             ; @SESS_RECONNECT
l_.str.13:                              ; @.str.13
	.asciz	"sess flags=%x"

l_.str.14:                              ; @.str.14
	.asciz	"ISCSISTOP"

	.comm	_SESS_INITIALLOGIN1,4,2         ; @SESS_INITIALLOGIN1
	.comm	_T8,4,2                         ; @T8
l_str:                                  ; @str
	.asciz	"iscontrol: supervise going down"

l_str.15:                               ; @str.15
	.asciz	"iscontrol: supervise starting main loop"

l_str.16:                               ; @str.16
	.asciz	"ready to go scsi"

	.no_dead_strip	_supervise
.subsections_via_symbols
