	.file	"extr_isci_controller.c_isci_controller_domain_discovery_complete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	isci_controller_domain_discovery_complete
	.type	isci_controller_domain_discovery_complete, @function
isci_controller_domain_discovery_complete:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 24[rdi], 0
	je	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, -2
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR [rsi]
	rol	eax, cl
	and	DWORD PTR [rdi], eax
	je	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, QWORD PTR TRUE[rip]
	mov	r13, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 24[rdi], rsi
	mov	edi, DWORD PTR 16[rdi]
	lea	r12, 1[rax]
	call	xpt_release_simq@PLT
	xor	eax, eax
	call	xpt_alloc_ccb_nowait@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	r15d, DWORD PTR CAM_LUN_WILDCARD[rip]
	mov	r14d, DWORD PTR CAM_TARGET_WILDCARD[rip]
	mov	rbp, rax
	call	cam_sim_path@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	r8d, r15d
	mov	edx, eax
	mov	ecx, r14d
	call	xpt_create_path@PLT
	mov	rdi, rbp
	call	xpt_rescan@PLT
	cmp	QWORD PTR 0[r13], r12
	jbe	.L5
	mov	rax, QWORD PTR 16[r13]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	lea	rdi, [rax+r12*4]
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	isci_controller_start@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 56
	lea	rdi, 8[r13]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	config_intrhook_disestablish@PLT
	.cfi_endproc
.LFE0:
	.size	isci_controller_domain_discovery_complete, .-isci_controller_domain_discovery_complete
	.comm	TRUE,8,8
	.comm	CAM_TARGET_WILDCARD,4,4
	.comm	CAM_LUN_WILDCARD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_isci_controller.c_isci_controller_domain_discovery_complete.c"
	.text
	.align	2
	.global	isci_controller_domain_discovery_complete
	.syntax unified
	.arm
	.fpu softvfp
	.type	isci_controller_domain_discovery_complete, %function
isci_controller_domain_discovery_complete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bxne	lr
	mov	r2, #1
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r1]
	ldr	r5, [r0]
	mov	r4, r0
	bic	r5, r5, r2, lsl r3
	cmp	r5, #0
	sub	sp, sp, #12
	str	r5, [r0]
	beq	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r3, .L12
	ldr	r6, [r0, #4]
	ldr	r1, [r3]
	ldr	r0, [r0, #8]
	str	r1, [r4, #12]
	add	r6, r6, r2
	ldr	r7, [r4, #16]
	bl	xpt_release_simq
	bl	xpt_alloc_ccb_nowait
	mov	r3, r0
	ldr	r0, [r4, #8]
	mov	r4, r3
	bl	cam_sim_path
	ldr	r1, .L12+4
	ldr	r3, .L12+8
	ldr	ip, [r1]
	mov	r2, r0
	str	ip, [sp]
	ldr	r3, [r3]
	mov	r1, r5
	mov	r0, r4
	bl	xpt_create_path
	mov	r0, r4
	bl	xpt_rescan
	ldr	r3, [r7]
	cmp	r3, r6
	bls	.L5
	ldr	r0, [r7, #8]
	add	r0, r0, r6, lsl #2
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	isci_controller_start
.L5:
	add	r0, r7, #4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	config_intrhook_disestablish
.L13:
	.align	2
.L12:
	.word	TRUE
	.word	CAM_LUN_WILDCARD
	.word	CAM_TARGET_WILDCARD
	.size	isci_controller_domain_discovery_complete, .-isci_controller_domain_discovery_complete
	.comm	TRUE,4,4
	.comm	CAM_TARGET_WILDCARD,4,4
	.comm	CAM_LUN_WILDCARD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
