	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hnae_get_handle                ## -- Begin function hnae_get_handle
	.p2align	4, 0x90
_hnae_get_handle:                       ## @hnae_get_handle
	.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	%rcx, %r12
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_find_ae
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	16(%rax), %rax
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	*(%rax)
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_put_device
	jmp	LBB0_16
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	%r14, 40(%r13)
	movq	%rbx, 32(%r13)
	testq	%r12, %r12
	jne	LBB0_7
## %bb.6:
	movq	_hnae_bops@GOTPCREL(%rip), %r12
LBB0_7:
	movq	%r12, 24(%r13)
	movl	%r15d, 20(%r13)
	cmpl	$0, (%r13)
	jle	LBB0_15
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_hnae_init_queue
	testl	%eax, %eax
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_15:
	movl	12(%r14), %edi
	callq	___module_get
	leaq	8(%r14), %rdi
	movq	%r13, %rsi
	addq	$16, %rsi
	addq	$4, %r14
	movq	%r14, %rdx
	callq	_hnae_list_add
LBB0_16:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.11:
	incq	%rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	-8(%rax,%rbx,4), %edi
	callq	_hnae_fini_queue
	decq	%rbx
	cmpq	$1, %rbx
	jg	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	callq	_put_device
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hnae_bops,4,2                  ## @hnae_bops
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hnae_get_handle                ; -- Begin function hnae_get_handle
	.p2align	2
_hnae_get_handle:                       ; @hnae_get_handle
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x3
	mov	x21, x2
	mov	x23, x0
	mov	x0, x1
	bl	_find_ae
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	mov	x1, x21
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_put_device
	b	LBB0_10
LBB0_3:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_5:
	str	x19, [x20, #40]
Lloh2:
	adrp	x8, _hnae_bops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hnae_bops@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x8, x22, eq
	stp	x8, x23, [x20, #24]
	str	w21, [x20, #20]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x20
	mov	x2, x19
	bl	_hnae_init_queue
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_9:
	ldr	w0, [x19, #12]
	bl	___module_get
	add	x0, x19, #8
	add	x1, x20, #16
	add	x2, x19, #4
	bl	_hnae_list_add
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	cbz	w21, LBB0_14
; %bb.12:
	sub	x21, x21, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_hnae_fini_queue
	add	x8, x21, #1
	sub	x21, x21, #1
	cmp	x8, #1
	b.gt	LBB0_13
LBB0_14:
	mov	x0, x19
	bl	_put_device
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hnae_bops,4,2                  ; @hnae_bops
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
