	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_exec_lct_get               ## -- Begin function i2o_exec_lct_get
	.p2align	4, 0x90
_i2o_exec_lct_get:                      ## @i2o_exec_lct_get
	.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	_EAGAIN@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	movq	_I2O_LCT_GET_TRIES@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_I2O_TIMEOUT_MESSAGE_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2o_msg_get_wait
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_SGL_OFFSET_6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EIGHT_WORD_MSG_SIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	_I2O_CMD_LCT_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$24, %eax
	movq	_HOST_TID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	shll	$12, %edi
	orl	%eax, %edi
	movq	_ADAPTER_TID@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	$-1, %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	(%r14), %edi
	movl	$-805306368, %eax               ## imm = 0xD0000000
	orl	%eax, %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movl	4(%r14), %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	_I2O_TIMEOUT_LCT_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2o_msg_post_wait
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_i2o_device_parse_lct
	movl	%eax, %ecx
	addl	(%r12), %ecx
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	cmpl	(%r13), %r15d
	jl	LBB0_4
	jmp	LBB0_7
LBB0_1:
	subl	(%r12), %r15d
	movl	%r15d, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_I2O_LCT_GET_TRIES,4,2          ## @I2O_LCT_GET_TRIES
	.comm	_I2O_TIMEOUT_MESSAGE_GET,4,2    ## @I2O_TIMEOUT_MESSAGE_GET
	.comm	_EIGHT_WORD_MSG_SIZE,4,2        ## @EIGHT_WORD_MSG_SIZE
	.comm	_SGL_OFFSET_6,4,2               ## @SGL_OFFSET_6
	.comm	_I2O_CMD_LCT_NOTIFY,4,2         ## @I2O_CMD_LCT_NOTIFY
	.comm	_HOST_TID,4,2                   ## @HOST_TID
	.comm	_ADAPTER_TID,4,2                ## @ADAPTER_TID
	.comm	_I2O_TIMEOUT_LCT_GET,4,2        ## @I2O_TIMEOUT_LCT_GET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_exec_lct_get               ; -- Begin function i2o_exec_lct_get
	.p2align	2
_i2o_exec_lct_get:                      ; @i2o_exec_lct_get
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EAGAIN@GOTPAGEOFF]
Lloh2:
	adrp	x22, _I2O_LCT_GET_TRIES@GOTPAGE
Lloh3:
	ldr	x22, [x22, _I2O_LCT_GET_TRIES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	w23, #0
Lloh4:
	adrp	x24, _I2O_TIMEOUT_MESSAGE_GET@GOTPAGE
Lloh5:
	ldr	x24, [x24, _I2O_TIMEOUT_MESSAGE_GET@GOTPAGEOFF]
Lloh6:
	adrp	x28, _HOST_TID@GOTPAGE
Lloh7:
	ldr	x28, [x28, _HOST_TID@GOTPAGEOFF]
Lloh8:
	adrp	x25, _ADAPTER_TID@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ADAPTER_TID@GOTPAGEOFF]
	mov	w26, #-805306368
Lloh10:
	adrp	x27, _I2O_TIMEOUT_LCT_GET@GOTPAGE
Lloh11:
	ldr	x27, [x27, _I2O_TIMEOUT_LCT_GET@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_i2o_msg_get_wait
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _EIGHT_WORD_MSG_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIGHT_WORD_MSG_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SGL_OFFSET_6@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SGL_OFFSET_6@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le32
	ldr	x8, [x20, #8]
	str	x0, [x8]
Lloh18:
	adrp	x8, _I2O_CMD_LCT_NOTIFY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I2O_CMD_LCT_NOTIFY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x28]
	lsl	w9, w9, #12
	orr	w8, w9, w8, lsl #24
	ldr	w9, [x25]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	mov	w0, #-1
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8]
	mov	w0, #0
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8, #8]
	ldr	w8, [x19]
	orr	w0, w8, w26
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8, #16]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8, #24]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_i2o_msg_post_wait
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_i2o_device_parse_lct
	ldr	w8, [x21]
	cmn	w0, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	add	w23, w23, #1
	cmp	w23, w8
	b.lt	LBB0_2
	b	LBB0_7
LBB0_6:
	ldr	w8, [x21]
	neg	w0, w8
LBB0_7:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_I2O_LCT_GET_TRIES,4,2          ; @I2O_LCT_GET_TRIES
	.comm	_I2O_TIMEOUT_MESSAGE_GET,4,2    ; @I2O_TIMEOUT_MESSAGE_GET
	.comm	_EIGHT_WORD_MSG_SIZE,4,2        ; @EIGHT_WORD_MSG_SIZE
	.comm	_SGL_OFFSET_6,4,2               ; @SGL_OFFSET_6
	.comm	_I2O_CMD_LCT_NOTIFY,4,2         ; @I2O_CMD_LCT_NOTIFY
	.comm	_HOST_TID,4,2                   ; @HOST_TID
	.comm	_ADAPTER_TID,4,2                ; @ADAPTER_TID
	.comm	_I2O_TIMEOUT_LCT_GET,4,2        ; @I2O_TIMEOUT_LCT_GET
.subsections_via_symbols
