	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_initialize_dev
_i40iw_initialize_dev:                  ## @i40iw_initialize_dev
	.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
	subq	$504, %rsp                      ## imm = 0x1F8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_I40IW_NO_QSET@GOTPCREL(%rip), %r13
	movq	(%r13), %r15
	leaq	-536(%rbp), %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	leaq	-176(%rbp), %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movq	_I40IW_HMC_IW_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	8(,%rax,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, 48(%r12)
	leaq	40(%r12), %r14
	movq	%r14, 32(%r12)
	addq	$4, %rax
	movq	%rax, 40(%r12)
	movq	_I40IW_QUERY_FPM_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_i40iw_obj_aligned_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.3:
	movq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_I40IW_COMMIT_FPM_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_i40iw_obj_aligned_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movl	%eax, -76(%rbp)
	xorl	%eax, %eax
	cmpq	$0, 32(%rcx)
	sete	%al
	movl	%eax, -176(%rbp)
	movl	24(%rcx), %eax
	movl	%eax, -80(%rbp)
	movq	%r14, -88(%rbp)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	16(%rcx), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_I40IW_DEFAULT_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	leaq	24(%r12), %r14
	movq	%rax, -464(%rbp)
	movq	_I40E_CLIENT_MAX_USER_PRIORITY@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.7:
	movq	8(%rcx), %rcx
	movq	-472(%rbp), %rdx
	xorl	%esi, %esi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%rdi, %r15
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rsi
	cmpq	(%rax), %rsi
	jae	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	movq	(%r13), %rbx
	cmpq	%rbx, %r15
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r15, %rdi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rbx, %rdi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, (%r12)
	jmp	LBB0_13
LBB0_1:
	movq	_I40IW_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_19
LBB0_14:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_info
	movq	_i40iw_virtchnl_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	leaq	-176(%rbp), %rsi
	movq	%r14, %rdi
	callq	_i40iw_device_init
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
LBB0_18:
	movq	8(%r12), %rdi
	callq	_kfree
	movq	$0, 8(%r12)
LBB0_19:
	movl	%ebx, %eax
	addq	$504, %rsp                      ## imm = 0x1F8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	-416(%rbp), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movq	%r14, -368(%rbp)
	movq	%r12, -376(%rbp)
	leaq	-536(%rbp), %rax
	movq	%rax, -384(%rbp)
	movl	$1, -412(%rbp)
	leaq	16(%r12), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_i40iw_sc_vsi_init
	cmpq	$0, 24(%r12)
	je	LBB0_19
## %bb.16:
	leaq	-296(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -272(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_kzalloc
	movq	%rax, -280(%rbp)
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:
	movl	$1, -288(%rbp)
	leaq	-296(%rbp), %rsi
	movq	%r15, %rdi
	callq	_i40iw_vsi_stats_init
	jmp	LBB0_19
LBB0_17:
	movq	_I40IW_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_NO_QSET,8,3              ## @I40IW_NO_QSET
	.comm	_I40IW_HMC_IW_MAX,4,2           ## @I40IW_HMC_IW_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I40IW_ERR_NO_MEMORY,4,2        ## @I40IW_ERR_NO_MEMORY
	.comm	_I40IW_QUERY_FPM_BUF_SIZE,4,2   ## @I40IW_QUERY_FPM_BUF_SIZE
	.comm	_I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK,4,2 ## @I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK
	.comm	_I40IW_COMMIT_FPM_BUF_SIZE,4,2  ## @I40IW_COMMIT_FPM_BUF_SIZE
	.comm	_I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK,4,2 ## @I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK
	.comm	_debug,4,2                      ## @debug
	.comm	_I40IW_DEFAULT_MTU,8,3          ## @I40IW_DEFAULT_MTU
	.comm	_I40E_CLIENT_MAX_USER_PRIORITY,8,3 ## @I40E_CLIENT_MAX_USER_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCB is set/clear = %d\n"

	.comm	_i40iw_virtchnl_send,4,2        ## @i40iw_virtchnl_send
	.no_dead_strip	_i40iw_initialize_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_initialize_dev
_i40iw_initialize_dev:                  ; @i40iw_initialize_dev
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #496
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _I40IW_NO_QSET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _I40IW_NO_QSET@GOTPAGEOFF]
	ldr	x25, [x24]
	add	x0, sp, #128
	mov	w1, #0
	mov	w2, #120
	bl	_memset
	sub	x0, x29, #200
	mov	w1, #0
	mov	w2, #120
	bl	_memset
Lloh2:
	adrp	x8, _I40IW_HMC_IW_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40IW_HMC_IW_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w0, w8, #8
Lloh5:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.1:
	str	x0, [x19, #48]
	add	x8, x0, #4
	mov	x26, x19
	str	x8, [x26, #40]!
	str	x26, [x19, #32]
Lloh7:
	adrp	x8, _I40IW_QUERY_FPM_BUF_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _I40IW_QUERY_FPM_BUF_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	add	x1, sp, #248
	mov	x0, x19
	bl	_i40iw_obj_aligned_mem
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.2:
	ldr	d0, [sp, #248]
	stur	d0, [x29, #-88]
Lloh13:
	adrp	x8, _I40IW_COMMIT_FPM_BUF_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40IW_COMMIT_FPM_BUF_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x1, sp, #248
	mov	x0, x19
	bl	_i40iw_obj_aligned_mem
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.3:
	add	x21, x19, #24
	ldr	d0, [sp, #248]
	stur	d0, [x29, #-96]
	ldr	w8, [x20]
	ldr	x9, [x20, #32]
	cmp	x9, #0
	ldr	w9, [x20, #24]
	stp	w9, w8, [x29, #-104]
	cset	w8, eq
	stur	x26, [x29, #-112]
Lloh19:
	adrp	x9, _debug@GOTPAGE
Lloh20:
	ldr	x9, [x9, _debug@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stur	w8, [x29, #-200]
	stur	w9, [x29, #-120]
	ldr	x8, [x20, #16]
Lloh22:
	adrp	x9, _I40IW_DEFAULT_MTU@GOTPAGE
Lloh23:
	ldr	x9, [x9, _I40IW_DEFAULT_MTU@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp, #200]
Lloh25:
	adrp	x8, _I40E_CLIENT_MAX_USER_PRIORITY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _I40E_CLIENT_MAX_USER_PRIORITY@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_11
; %bb.4:
	mov	x9, #0
	ldr	x10, [x20, #8]
	ldr	x11, [sp, #192]
	mov	w12, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x13, x25
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #1
	ldr	x14, [x8]
	mov	x25, x13
	cmp	x9, x14
	b.hs	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x14, x9, #3
	ldr	x13, [x10, x14]
	str	x13, [x11, x14]
	ldr	x14, [x24]
	cmp	x25, x14
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x13, x25
	ccmp	x13, x14, #4, ne
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w12, [x19]
	b	LBB0_5
LBB0_10:
Lloh27:
	adrp	x8, _I40IW_ERR_NO_MEMORY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I40IW_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
	b	LBB0_13
LBB0_11:
	ldr	w1, [x19]
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_i40iw_pr_info
Lloh32:
	adrp	x8, _i40iw_virtchnl_send@GOTPAGE
Lloh33:
	ldr	x8, [x8, _i40iw_virtchnl_send@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	stur	w8, [x29, #-144]
	sub	x1, x29, #200
	mov	x0, x21
	bl	_i40iw_device_init
	mov	x22, x0
	cbz	w0, LBB0_14
LBB0_12:
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
LBB0_13:
	mov	x0, x22
	add	sp, sp, #496
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	add	x0, sp, #256
	mov	w1, #0
	mov	w2, #120
	bl	_memset
	stp	x19, x21, [sp, #296]
	add	x8, sp, #128
	str	x8, [sp, #288]
	mov	w8, #1
	str	w8, [sp, #260]
	add	x21, x19, #16
	add	x1, sp, #256
	mov	x0, x21
	bl	_i40iw_sc_vsi_init
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.15:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #120
	bl	_memset
	ldr	w8, [x20]
	str	w8, [sp, #32]
	ldr	w1, [x23]
	mov	w20, #1
	mov	w0, #1
	bl	_kzalloc
	str	x0, [sp, #24]
	cbz	x0, LBB0_18
; %bb.16:
	str	w20, [sp, #16]
	add	x1, sp, #8
	mov	x0, x21
	bl	_i40iw_vsi_stats_init
LBB0_17:
	mov	w22, #0
	b	LBB0_13
LBB0_18:
Lloh35:
	adrp	x8, _I40IW_ERR_NO_MEMORY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I40IW_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh37:
	ldr	w22, [x8]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_NO_QSET,8,3              ; @I40IW_NO_QSET
	.comm	_I40IW_HMC_IW_MAX,4,2           ; @I40IW_HMC_IW_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I40IW_ERR_NO_MEMORY,4,2        ; @I40IW_ERR_NO_MEMORY
	.comm	_I40IW_QUERY_FPM_BUF_SIZE,4,2   ; @I40IW_QUERY_FPM_BUF_SIZE
	.comm	_I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK,4,2 ; @I40IW_FPM_QUERY_BUF_ALIGNMENT_MASK
	.comm	_I40IW_COMMIT_FPM_BUF_SIZE,4,2  ; @I40IW_COMMIT_FPM_BUF_SIZE
	.comm	_I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK,4,2 ; @I40IW_FPM_COMMIT_BUF_ALIGNMENT_MASK
	.comm	_debug,4,2                      ; @debug
	.comm	_I40IW_DEFAULT_MTU,8,3          ; @I40IW_DEFAULT_MTU
	.comm	_I40E_CLIENT_MAX_USER_PRIORITY,8,3 ; @I40E_CLIENT_MAX_USER_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCB is set/clear = %d\n"

	.comm	_i40iw_virtchnl_send,4,2        ; @i40iw_virtchnl_send
	.no_dead_strip	_i40iw_initialize_dev
.subsections_via_symbols
