	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_abort
_srp_abort:                             ## @srp_abort
	.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	%rdi, %r14
	movq	16(%rdi), %rax
	movl	4(%rax), %edi
	callq	_host_to_target
	movq	%rax, %r15
	movq	32(%r14), %rbx
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_shost_printk
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %edi
	callq	_blk_mq_unique_tag
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_blk_mq_unique_tag_to_hwq
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setae	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	shlq	$2, %r12
	addq	24(%r15), %r12
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_srp_claim_req
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_shost_printk
	movq	16(%r14), %rax
	movl	(%rax), %edx
	movq	_SRP_TSK_ABORT_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%r8d, %r8d
	callq	_srp_send_tsk_mgmt
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	_SRP_RPORT_LOST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.7:
	movq	_FAST_IO_FAIL@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_6:
	movq	_FAILED@GOTPCREL(%rip), %rdx
LBB0_8:
	movl	(%rdx), %ebx
	cmpl	(%rcx), %ebx
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_srp_free_req
	movq	_DID_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$16, %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	*8(%r14)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SRP abort called\n"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"Sending SRP abort for tag %#x\n"

	.comm	_SRP_TSK_ABORT_TASK,4,2         ## @SRP_TSK_ABORT_TASK
	.comm	_SRP_RPORT_LOST,8,3             ## @SRP_RPORT_LOST
	.comm	_FAST_IO_FAIL,4,2               ## @FAST_IO_FAIL
	.comm	_FAILED,4,2                     ## @FAILED
	.comm	_DID_ABORT,4,2                  ## @DID_ABORT
	.no_dead_strip	_srp_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_abort
_srp_abort:                             ; @srp_abort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8, #4]
	bl	_host_to_target
	mov	x21, x0
	ldr	x20, [x19, #32]
Lloh0:
	adrp	x24, _KERN_ERR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _KERN_ERR@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x21, #16]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_shost_printk
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_blk_mq_unique_tag
	mov	x23, x0
	bl	_blk_mq_unique_tag_to_hwq
	mov	x22, x0
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, hs
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_4
LBB0_2:
Lloh4:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	x8, [x21, #24]
	add	x22, x8, x22, lsl #2
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	mov	x3, x19
	bl	_srp_claim_req
	cbz	w0, LBB0_2
; %bb.5:
	ldr	w0, [x24]
	ldr	w1, [x21, #16]
	str	x23, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_shost_printk
	ldr	x8, [x19, #16]
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _SRP_TSK_ABORT_TASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SRP_TSK_ABORT_TASK@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x4, #0
	bl	_srp_send_tsk_mgmt
Lloh12:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _SRP_RPORT_LOST@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SRP_RPORT_LOST@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
Lloh17:
	adrp	x11, _FAILED@GOTPAGE
Lloh18:
	ldr	x11, [x11, _FAILED@GOTPAGEOFF]
Lloh19:
	adrp	x12, _FAST_IO_FAIL@GOTPAGE
Lloh20:
	ldr	x12, [x12, _FAST_IO_FAIL@GOTPAGEOFF]
	cmp	x9, x10
	csel	x9, x12, x11, eq
	b	LBB0_8
LBB0_7:
	mov	x9, x8
LBB0_8:
	ldr	w21, [x9]
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_3
; %bb.9:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_srp_free_req
Lloh21:
	adrp	x8, _DID_ABORT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DID_ABORT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w8, w8, #16
	str	w8, [x19]
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	b	LBB0_3
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SRP abort called\n"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"Sending SRP abort for tag %#x\n"

	.comm	_SRP_TSK_ABORT_TASK,4,2         ; @SRP_TSK_ABORT_TASK
	.comm	_SRP_RPORT_LOST,8,3             ; @SRP_RPORT_LOST
	.comm	_FAST_IO_FAIL,4,2               ; @FAST_IO_FAIL
	.comm	_FAILED,4,2                     ; @FAILED
	.comm	_DID_ABORT,4,2                  ; @DID_ABORT
	.no_dead_strip	_srp_abort
.subsections_via_symbols
