	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_init_struct
_ef4_init_struct:                       ## @ef4_init_struct
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	addq	$144, %rdi
	callq	_INIT_LIST_HEAD
	leaq	140(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	136(%r12), %rdi
	callq	_spin_lock_init
	leaq	128(%r12), %rdi
	movq	_ef4_reset_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	124(%r12), %rdi
	movq	_ef4_monitor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	120(%r12), %rdi
	movq	_ef4_selftest_async_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r14, 112(%r12)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%r12)
	movq	_STATE_UNINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r12)
	movl	96(%r12), %ebx
	movq	%r14, %rdi
	callq	_pci_name
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, 88(%r12)
	movq	24(%r12), %rcx
	movl	(%rcx), %eax
	movl	%eax, (%r12)
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %edx
	addl	%eax, %edx
	leal	3(%rsi,%rax), %esi
	cmovnsl	%edx, %esi
	andl	$-4, %esi
	subl	%esi, %edx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	movl	%edx, 4(%r12)
	movl	4(%rcx), %edx
	subl	%eax, %edx
	movl	%edx, 8(%r12)
	movl	8(%rcx), %ecx
	subl	%eax, %ecx
	movl	%ecx, 12(%r12)
	leaq	84(%r12), %rdi
	callq	_spin_lock_init
	leaq	80(%r12), %rdi
	callq	_mutex_init
	movq	_ef4_dummy_phy_operations@GOTPCREL(%rip), %rax
	movq	%rax, 72(%r12)
	movq	%r15, 64(%r12)
	leaq	60(%r12), %rdi
	movq	_ef4_mac_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	56(%r12), %rdi
	callq	_init_waitqueue_head
	movq	_EF4_MAX_CHANNELS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.4:
	movl	$8, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ef4_alloc_channel
	movq	48(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r12), %rax
	movq	%r12, (%rax,%r13)
	movl	%ebx, -8(%rax,%r13)
	incq	%rbx
	movslq	(%r15), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_7:
	movq	24(%r12), %rax
	movl	12(%rax), %edi
	movq	_interrupt_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_max
	movl	%eax, 32(%r12)
	movl	20(%r12), %ebx
	movq	%r14, %rdi
	callq	_pci_name
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movl	20(%r12), %edi
	callq	_create_singlethread_workqueue
	movl	%eax, %ecx
	movl	%eax, 16(%r12)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_9
LBB0_8:
	movq	%r12, %rdi
	callq	_ef4_fini_struct
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ef4_reset_work,4,2             ## @ef4_reset_work
	.comm	_ef4_monitor,4,2                ## @ef4_monitor
	.comm	_ef4_selftest_async_work,4,2    ## @ef4_selftest_async_work
	.comm	_debug,4,2                      ## @debug
	.comm	_STATE_UNINIT,4,2               ## @STATE_UNINIT
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_ef4_dummy_phy_operations,4,2   ## @ef4_dummy_phy_operations
	.comm	_ef4_mac_work,4,2               ## @ef4_mac_work
	.comm	_EF4_MAX_CHANNELS,4,2           ## @EF4_MAX_CHANNELS
	.comm	_interrupt_mode,4,2             ## @interrupt_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sfc%s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ef4_init_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_init_struct
_ef4_init_struct:                       ; @ef4_init_struct
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #144
	bl	_INIT_LIST_HEAD
	add	x0, x19, #140
	bl	_INIT_LIST_HEAD
	add	x0, x19, #136
	bl	_spin_lock_init
	add	x0, x19, #128
Lloh0:
	adrp	x8, _ef4_reset_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ef4_reset_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #124
Lloh3:
	adrp	x8, _ef4_monitor@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ef4_monitor@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #120
Lloh6:
	adrp	x8, _ef4_selftest_async_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ef4_selftest_async_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	str	x20, [x19, #112]
Lloh9:
	adrp	x8, _debug@GOTPAGE
Lloh10:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _STATE_UNINIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STATE_UNINIT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #100]
	ldr	w22, [x19, #96]
	mov	x0, x20
	bl	_pci_name
	mov	x1, x0
	mov	x0, x22
	mov	w2, #4
	bl	_strlcpy
	str	x21, [x19, #88]
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	str	w9, [x19]
Lloh15:
	adrp	x10, _NET_IP_ALIGN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	add	w11, w10, w9
	negs	w12, w11
	and	w11, w11, #0x3
	and	w12, w12, #0x3
	csneg	w11, w11, w12, mi
	cmp	w10, #0
	csel	w10, wzr, w11, eq
	str	w10, [x19, #4]
	ldur	d0, [x8, #4]
	dup.2s	v1, w9
	sub.2s	v0, v0, v1
	str	d0, [x19, #8]
	add	x0, x19, #84
	bl	_spin_lock_init
	add	x0, x19, #80
	bl	_mutex_init
Lloh18:
	adrp	x8, _ef4_dummy_phy_operations@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ef4_dummy_phy_operations@GOTPAGEOFF]
	stp	x21, x8, [x19, #64]
	add	x0, x19, #60
Lloh20:
	adrp	x8, _ef4_mac_work@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ef4_mac_work@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #56
	bl	_init_waitqueue_head
Lloh23:
	adrp	x22, _EF4_MAX_CHANNELS@GOTPAGE
Lloh24:
	ldr	x22, [x22, _EF4_MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x23, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_ef4_alloc_channel
	ldr	x8, [x19, #48]
	str	w0, [x8, x21, lsl #2]
	cbz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
	add	x8, x8, x23
	str	x19, [x8, #8]
	str	w21, [x8]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	add	x23, x23, #16
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #12]
Lloh25:
	adrp	x8, _interrupt_mode@GOTPAGE
Lloh26:
	ldr	x8, [x8, _interrupt_mode@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_max
	str	w0, [x19, #32]
	ldr	w21, [x19, #20]
	mov	x0, x20
	bl	_pci_name
	mov	x3, x0
Lloh28:
	adrp	x2, l_.str@PAGE
Lloh29:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #4
	bl	_snprintf
	ldr	w0, [x19, #20]
	bl	_create_singlethread_workqueue
	str	w0, [x19, #16]
	cbz	w0, LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_ef4_fini_struct
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ef4_reset_work,4,2             ; @ef4_reset_work
	.comm	_ef4_monitor,4,2                ; @ef4_monitor
	.comm	_ef4_selftest_async_work,4,2    ; @ef4_selftest_async_work
	.comm	_debug,4,2                      ; @debug
	.comm	_STATE_UNINIT,4,2               ; @STATE_UNINIT
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_ef4_dummy_phy_operations,4,2   ; @ef4_dummy_phy_operations
	.comm	_ef4_mac_work,4,2               ; @ef4_mac_work
	.comm	_EF4_MAX_CHANNELS,4,2           ; @EF4_MAX_CHANNELS
	.comm	_interrupt_mode,4,2             ; @interrupt_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sfc%s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ef4_init_struct
.subsections_via_symbols
