	.file	"extr_scsi_targ_bh.c_targbhasync.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"targbhasync: Unable to create path due to status 0x%x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"targbh"
	.text
	.p2align 4
	.type	targbhasync, @function
targbhasync:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	esi, 128
	jne	.L2
	mov	edx, DWORD PTR 4[rcx]
	mov	r8d, DWORD PTR CAM_LUN_WILDCARD[rip]
	mov	rbp, rcx
	xor	esi, esi
	mov	ecx, DWORD PTR CAM_TARGET_WILDCARD[rip]
	mov	rdi, rsp
	call	xpt_create_path@PLT
	cmp	rax, QWORD PTR CAM_REQ_CMP[rip]
	je	.L18
.L3:
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	printf@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rsp]
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR PIT_PROCESSOR[rip], eax
	jne	.L20
.L8:
	call	xpt_free_path@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rdx
	mov	ebx, esi
	call	xpt_path_path_id@PLT
	mov	ecx, DWORD PTR CAM_TARGET_WILDCARD[rip]
	xor	esi, esi
	mov	rdi, rsp
	mov	r8d, DWORD PTR CAM_LUN_WILDCARD[rip]
	mov	edx, eax
	call	xpt_create_path@PLT
	cmp	QWORD PTR CAM_REQ_CMP[rip], rax
	jne	.L3
	mov	rdi, QWORD PTR [rsp]
	cmp	ebx, 129
	jne	.L8
	lea	rsi, .LC1[rip]
	call	cam_periph_find@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L16
	call	cam_periph_invalidate@PLT
.L16:
	mov	rdi, QWORD PTR [rsp]
	call	xpt_free_path@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rax, targbhasync[rip]
	push	rbp
	.cfi_def_cfa_offset 56
	mov	ecx, DWORD PTR targbhstart[rip]
	xor	esi, esi
	push	128
	.cfi_def_cfa_offset 64
	mov	r9d, DWORD PTR CAM_PERIPH_BIO[rip]
	lea	r8, .LC1[rip]
	push	rax
	.cfi_def_cfa_offset 72
	mov	edx, DWORD PTR targbhdtor[rip]
	push	rdi
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR targbhctor[rip]
	call	cam_periph_alloc@PLT
	mov	rdi, QWORD PTR 32[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 48
	jmp	.L8
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	targbhasync, .-targbhasync
	.comm	targbhstart,4,4
	.comm	targbhdtor,4,4
	.comm	targbhctor,4,4
	.comm	PIT_PROCESSOR,4,4
	.comm	CAM_TARGET_WILDCARD,4,4
	.comm	CAM_REQ_CMP,8,8
	.comm	CAM_PERIPH_BIO,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_scsi_targ_bh.c_targbhasync.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"targbhasync: Unable to create path due to status 0x"
	.ascii	"%x\012\000"
	.align	2
.LC1:
	.ascii	"targbh\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	targbhasync, %function
targbhasync:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r3
	ldr	r3, .L21
	sub	sp, sp, #32
	cmp	r1, #128
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bne	.L2
	ldr	r2, .L21+4
	ldr	r3, .L21+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [sp]
	mov	r1, #0
	ldr	r2, [r5, #4]
	add	r0, sp, #24
	bl	xpt_create_path
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L18
.L3:
	mov	r1, r0
	ldr	r0, .L21+16
	bl	printf
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r3, .L21+20
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r0, [sp, #24]
	tst	r2, r3
	bne	.L20
.L8:
	bl	xpt_free_path
	b	.L1
.L2:
	mov	r0, r2
	bl	xpt_path_path_id
	ldr	r1, .L21+4
	ldr	r3, .L21+8
	ldr	r1, [r1]
	mov	r2, r0
	str	r1, [sp]
	ldr	r3, [r3]
	mov	r1, #0
	add	r0, sp, #24
	bl	xpt_create_path
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L3
	cmp	r4, #129
	ldr	r0, [sp, #24]
	bne	.L8
	ldr	r1, .L21+24
	bl	cam_periph_find
	cmp	r0, #0
	beq	.L16
	bl	cam_periph_invalidate
.L16:
	ldr	r0, [sp, #24]
	bl	xpt_free_path
	b	.L1
.L20:
	ldr	r2, .L21+28
	ldr	lr, .L21+32
	ldr	r6, [r2]
	ldr	ip, .L21+36
	ldr	r1, .L21+24
	ldr	r3, .L21+40
	ldr	r2, .L21+44
	str	r5, [sp, #20]
	str	r4, [sp, #16]
	str	r0, [sp, #8]
	str	r6, [sp, #4]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [lr]
	str	r1, [sp]
	str	ip, [sp, #12]
	mov	r1, #0
	bl	cam_periph_alloc
	ldr	r0, [sp, #24]
	b	.L8
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	CAM_LUN_WILDCARD
	.word	CAM_TARGET_WILDCARD
	.word	CAM_REQ_CMP
	.word	.LC0
	.word	PIT_PROCESSOR
	.word	.LC1
	.word	CAM_PERIPH_BIO
	.word	targbhctor
	.word	targbhasync
	.word	targbhstart
	.word	targbhdtor
	.size	targbhasync, .-targbhasync
	.comm	targbhstart,4,4
	.comm	targbhdtor,4,4
	.comm	targbhctor,4,4
	.comm	PIT_PROCESSOR,4,4
	.comm	CAM_TARGET_WILDCARD,4,4
	.comm	CAM_REQ_CMP,4,4
	.comm	CAM_PERIPH_BIO,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
