	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iscsi_iser_ep_poll
_iscsi_iser_ep_poll:                    ## @iscsi_iser_ep_poll
	.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
	movq	(%rdi), %r14
	leaq	12(%r14), %rbx
	movl	%esi, %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_interruptible_timeout
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	(%r14), %rax
	movq	_ISER_CONN_TERMINATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_ISER_CONN_DOWN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %ebx
	negl	%ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_iser_info
	testl	%ebx, %ebx
	movl	$1, %eax
	cmovlel	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISER_CONN_TERMINATING,8,3      ## @ISER_CONN_TERMINATING
	.comm	_ISER_CONN_DOWN,8,3             ## @ISER_CONN_DOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iser conn %p rc = %d\n"

	.no_dead_strip	_iscsi_iser_ep_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iscsi_iser_ep_poll
_iscsi_iser_ep_poll:                    ; @iscsi_iser_ep_poll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x19, [x0]
	add	x20, x19, #12
	mov	x0, x1
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x20
	bl	_wait_for_completion_interruptible_timeout
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ISER_CONN_TERMINATING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISER_CONN_TERMINATING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _ISER_CONN_DOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISER_CONN_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w8, eq
	sbfx	w20, w8, #0, #1
	mov	x0, x21
	bl	_mutex_unlock
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_iser_info
	cmp	w20, #1
	csinc	w0, w20, wzr, lt
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ISER_CONN_TERMINATING,8,3      ; @ISER_CONN_TERMINATING
	.comm	_ISER_CONN_DOWN,8,3             ; @ISER_CONN_DOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iser conn %p rc = %d\n"

	.no_dead_strip	_iscsi_iser_ep_poll
.subsections_via_symbols
