	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ktiocomplete
_ktiocomplete:                          ## @ktiocomplete
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.1:
	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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r13
	movq	16(%r13), %r12
	movq	16(%rdi), %r15
	movq	24(%rdi), %r14
	movq	_FFL_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_21
## %bb.2:
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	movl	12(%rbx), %edi
	callq	_skb_mac_header
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_skb_pull
	movq	%r14, %rdi
	movq	8(%r14), %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	$8, %esi
	callq	_skb_pull
	movl	(%r14), %edx
	testb	$-87, %dl
	je	LBB0_7
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movq	8(%r12), %rcx
	movl	4(%r12), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_5:
	testq	%r15, %r15
	je	LBB0_21
LBB0_6:
	movq	_BIO_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
	callq	_clear_bit
LBB0_21:
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movq	(%r13), %rax
	testq	%rax, %rax
	jle	LBB0_26
## %bb.22:
	leaq	-1(%rax), %rcx
	movq	%rcx, (%r13)
	cmpq	$1, %rax
	je	LBB0_26
## %bb.23:
	cmpq	$0, 8(%r13)
	jne	LBB0_26
## %bb.24:
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdi
	callq	_count_targets
	cmpl	$0, -52(%rbp)
	jle	LBB0_26
## %bb.25:
	movq	%r13, %rdi
	callq	_probe
	incq	8(%r13)
LBB0_26:
	movq	%rbx, %rdi
	callq	_aoe_freetframe
	testq	%r15, %r15
	je	LBB0_30
## %bb.27:
	decq	(%r15)
	jne	LBB0_30
## %bb.28:
	cmpq	$0, 8(%r15)
	jne	LBB0_30
## %bb.29:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_aoe_end_buf
LBB0_30:
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	movq	%r12, %rdi
	callq	_aoedev_put
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_31:
	retq
LBB0_7:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	8(%rdx), %esi
	leal	-128(%rsi), %eax
	cmpl	$2, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jb	LBB0_15
## %bb.8:
	leal	-130(%rsi), %eax
	cmpl	$2, %eax
	jae	LBB0_9
## %bb.12:
	movl	12(%rdx), %eax
	shll	$9, %eax
	movslq	%eax, %r9
	movq	(%r14), %r8
	cmpq	%r9, %r8
	jge	LBB0_14
## %bb.13:
	movq	8(%r12), %rdx
	movl	4(%r12), %ecx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_6
LBB0_9:
	cmpl	$132, %esi
	jne	LBB0_20
## %bb.10:
	movq	(%r14), %r8
	cmpq	$511, %r8                       ## imm = 0x1FF
	jg	LBB0_18
## %bb.11:
	movq	8(%r12), %rdx
	movl	4(%r12), %ecx
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_21
LBB0_14:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	movq	%r14, %rdx
	movq	%r9, %rcx
	callq	_bvcpy
LBB0_15:
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movl	16(%r14), %esi
	movq	%r13, %rdi
	callq	_getif
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	$0, (%rax)
LBB0_17:
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	jmp	LBB0_21
LBB0_20:
	leaq	4(%rcx), %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_get_unaligned
	movl	%eax, %edi
	callq	_be16_to_cpu
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	leaq	L_.str.5(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_info
	jmp	LBB0_21
LBB0_18:
	movq	%r14, %rdi
	callq	_skb_linearize
	testl	%eax, %eax
	jne	LBB0_21
## %bb.19:
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movq	8(%r14), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ataid_complete
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_FFL_PROBE,4,2                  ## @FFL_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aoe: ata error cmd=%2.2Xh stat=%2.2Xh from e%ld.%d\n"

	.comm	_BIO_UPTODATE,4,2               ## @BIO_UPTODATE
L_.str.1:                               ## @.str.1
	.asciz	"%s e%ld.%d.  skb->len=%d need=%ld\n"

L_.str.2:                               ## @.str.2
	.asciz	"aoe: runt data size in read from"

L_.str.3:                               ## @.str.3
	.asciz	"%s e%ld.%d.  skb->len=%d need=512\n"

L_.str.4:                               ## @.str.4
	.asciz	"aoe: runt data size in ataid from"

L_.str.5:                               ## @.str.5
	.asciz	"aoe: unrecognized ata command %2.2Xh for %d.%d\n"

	.no_dead_strip	_ktiocomplete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ktiocomplete
_ktiocomplete:                          ; @ktiocomplete
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_17
; %bb.1:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x0
	ldp	x19, x23, [x0, #24]
	ldr	x20, [x23, #16]
	ldr	x21, [x0, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FFL_PROBE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FFL_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.2:
	cbz	x19, LBB0_5
; %bb.3:
	ldr	w0, [x22, #12]
	bl	_skb_mac_header
	mov	x24, x0
	ldr	x25, [x19, #8]
	mov	x0, x19
	mov	w1, #8
	bl	_skb_pull
	ldr	x26, [x19, #8]
	mov	x0, x19
	mov	w1, #8
	bl	_skb_pull
	ldr	w8, [x26]
	mov	w9, #169
	tst	w8, w9
	b.eq	LBB0_18
; %bb.4:
	ldr	x9, [x20, #8]
	ldr	w10, [x24, #8]
	ldr	w11, [x20, #4]
	stp	x9, x11, [sp, #16]
	stp	x10, x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_5:
	cbz	x21, LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _BIO_UPTODATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIO_UPTODATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x1, [x21, #16]
	bl	_clear_bit
LBB0_7:
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	x8, [x23]
	subs	x8, x8, #1
	b.lt	LBB0_12
; %bb.8:
	str	x8, [x23]
	b.eq	LBB0_12
; %bb.9:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_12
; %bb.10:
	add	x1, sp, #44
	mov	x0, x20
	bl	_count_targets
	ldr	w8, [sp, #44]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.11:
	mov	x0, x23
	bl	_probe
	ldr	x8, [x23, #8]
	add	x8, x8, #1
	str	x8, [x23, #8]
LBB0_12:
	mov	x0, x22
	bl	_aoe_freetframe
	cbz	x21, LBB0_16
; %bb.13:
	ldr	x8, [x21]
	subs	x8, x8, #1
	str	x8, [x21]
	b.ne	LBB0_16
; %bb.14:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_16
; %bb.15:
	mov	x0, x20
	mov	x1, x21
	bl	_aoe_end_buf
LBB0_16:
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_aoedev_put
	mov	x0, x19
	bl	_dev_kfree_skb
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
LBB0_17:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	ret
LBB0_18:
	ldr	w26, [x24, #8]
	sub	w8, w26, #128
	cmp	w8, #2
	b.lo	LBB0_26
; %bb.19:
	sub	w8, w26, #130
	cmp	w8, #2
	b.hs	LBB0_22
; %bb.20:
	ldr	w8, [x24, #12]
	lsl	w8, w8, #9
	sxtw	x3, w8
	ldr	x8, [x19]
	cmp	x8, x3
	b.ge	LBB0_25
; %bb.21:
	ldr	x9, [x20, #8]
	ldr	w10, [x20, #4]
	stp	x8, x3, [sp, #24]
Lloh8:
	adrp	x11, l_.str.2@PAGE
Lloh9:
	add	x11, x11, l_.str.2@PAGEOFF
	stp	x9, x10, [sp, #8]
	str	x11, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_6
LBB0_22:
	cmp	w26, #132
	b.ne	LBB0_29
; %bb.23:
	ldr	x8, [x19]
	cmp	x8, #511
	b.gt	LBB0_31
; %bb.24:
	ldr	x9, [x20, #8]
	ldr	w10, [x20, #4]
Lloh12:
	adrp	x11, l_.str.4@PAGE
Lloh13:
	add	x11, x11, l_.str.4@PAGEOFF
	stp	x10, x8, [sp, #16]
	stp	x11, x9, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_25:
	ldp	w1, w0, [x22, #4]
	mov	x2, x19
	bl	_bvcpy
LBB0_26:
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	w1, [x19, #16]
	mov	x0, x23
	bl	_getif
	cbz	x0, LBB0_28
; %bb.27:
	str	wzr, [x0]
LBB0_28:
	mov	x0, x20
	bl	_spin_unlock_irq
	b	LBB0_7
LBB0_29:
	add	x0, x25, #4
	bl	_get_unaligned
	bl	_be16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x25]
	stp	x0, x8, [sp, #8]
	str	x26, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_30:
	bl	_pr_info
	b	LBB0_7
LBB0_31:
	mov	x0, x19
	bl	_skb_linearize
	cbnz	w0, LBB0_7
; %bb.32:
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	x2, [x19, #8]
	mov	x0, x20
	mov	x1, x23
	bl	_ataid_complete
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FFL_PROBE,4,2                  ; @FFL_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aoe: ata error cmd=%2.2Xh stat=%2.2Xh from e%ld.%d\n"

	.comm	_BIO_UPTODATE,4,2               ; @BIO_UPTODATE
l_.str.1:                               ; @.str.1
	.asciz	"%s e%ld.%d.  skb->len=%d need=%ld\n"

l_.str.2:                               ; @.str.2
	.asciz	"aoe: runt data size in read from"

l_.str.3:                               ; @.str.3
	.asciz	"%s e%ld.%d.  skb->len=%d need=512\n"

l_.str.4:                               ; @.str.4
	.asciz	"aoe: runt data size in ataid from"

l_.str.5:                               ; @.str.5
	.asciz	"aoe: unrecognized ata command %2.2Xh for %d.%d\n"

	.no_dead_strip	_ktiocomplete
.subsections_via_symbols
