	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mptscsih_change_queue_depth    ## -- Begin function mptscsih_change_queue_depth
	.p2align	4, 0x90
_mptscsih_change_queue_depth:           ## @mptscsih_change_queue_depth
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	12(%rdi), %edi
	callq	_shost_priv
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_scsi_target
	movq	(%rbx), %rcx
	movq	_SPI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.1:
	movq	(%rax), %rax
	movq	_MPT_TARGET_FLAGS_Q_YES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.3:
	movq	(%r15), %rcx
	movq	_TYPE_DISK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.4:
	movq	8(%rax), %rax
	movq	_MPT_ULTRA160@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_5
LBB0_6:
	movq	_MPT_SCSI_CMD_PER_DEV_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	8(%rbx), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	cmpl	$0, 8(%r15)
	movl	$1, %esi
	cmovnel	%eax, %esi
	cmpl	%r14d, %esi
	cmovgel	%r14d, %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scsi_change_queue_depth        ## TAILCALL
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_MPT_SCSI_CMD_PER_DEV_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI,8,3                        ## @SPI
	.comm	_MPT_TARGET_FLAGS_Q_YES,4,2     ## @MPT_TARGET_FLAGS_Q_YES
	.comm	_TYPE_DISK,8,3                  ## @TYPE_DISK
	.comm	_MPT_ULTRA160,8,3               ## @MPT_ULTRA160
	.comm	_MPT_SCSI_CMD_PER_DEV_HIGH,4,2  ## @MPT_SCSI_CMD_PER_DEV_HIGH
	.comm	_MPT_SCSI_CMD_PER_DEV_LOW,4,2   ## @MPT_SCSI_CMD_PER_DEV_LOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mptscsih_change_queue_depth    ; -- Begin function mptscsih_change_queue_depth
	.p2align	2
_mptscsih_change_queue_depth:           ; @mptscsih_change_queue_depth
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_shost_priv
	ldr	x21, [x0]
	mov	x0, x19
	bl	_scsi_target
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SPI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _MPT_TARGET_FLAGS_Q_YES@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MPT_TARGET_FLAGS_Q_YES@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.2:
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _TYPE_DISK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TYPE_DISK@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
Lloh9:
	adrp	x9, _MPT_ULTRA160@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MPT_ULTRA160@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_9
LBB0_4:
Lloh12:
	adrp	x8, _MPT_SCSI_CMD_PER_DEV_LOW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPT_SCSI_CMD_PER_DEV_LOW@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21, #8]
LBB0_6:
	ldr	w8, [x8]
LBB0_7:
	ldr	w9, [x19, #8]
	cmp	w9, #0
	csinc	w8, w8, wzr, ne
	cmp	w8, w20
	csel	w1, w8, w20, lt
	mov	x0, x19
	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
	b	_scsi_change_queue_depth
LBB0_8:
	mov	w8, #1
	b	LBB0_7
LBB0_9:
Lloh14:
	adrp	x8, _MPT_SCSI_CMD_PER_DEV_HIGH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MPT_SCSI_CMD_PER_DEV_HIGH@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI,8,3                        ; @SPI
	.comm	_MPT_TARGET_FLAGS_Q_YES,4,2     ; @MPT_TARGET_FLAGS_Q_YES
	.comm	_TYPE_DISK,8,3                  ; @TYPE_DISK
	.comm	_MPT_ULTRA160,8,3               ; @MPT_ULTRA160
	.comm	_MPT_SCSI_CMD_PER_DEV_HIGH,4,2  ; @MPT_SCSI_CMD_PER_DEV_HIGH
	.comm	_MPT_SCSI_CMD_PER_DEV_LOW,4,2   ; @MPT_SCSI_CMD_PER_DEV_LOW
.subsections_via_symbols
