	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_init_struct
_efx_init_struct:                       ## @efx_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	addq	$120, %rdi
	callq	_spin_lock_init
	leaq	112(%r12), %rdi
	movq	_efx_reset_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	108(%r12), %rdi
	movq	_efx_monitor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	104(%r12), %rdi
	movq	_efx_selftest_async_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r14, 96(%r12)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r12)
	movq	_STATE_UNINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r12)
	movl	80(%r12), %ebx
	movq	%r14, %rdi
	callq	_pci_name
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, 72(%r12)
	movl	$1, (%r12)
	leaq	68(%r12), %rdi
	callq	_spin_lock_init
	leaq	64(%r12), %rdi
	callq	_mutex_init
	movq	_efx_dummy_phy_operations@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r12)
	movq	%r15, 48(%r12)
	leaq	44(%r12), %rdi
	movq	_efx_mac_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	40(%r12), %rdi
	callq	_init_waitqueue_head
	movq	_EFX_MAX_CHANNELS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_efx_alloc_channel
	movq	32(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	16(%r12), %rcx
	xorl	%edi, %edi
	cmpl	%eax, (%rcx)
	setg	%dil
	callq	_EFX_BUG_ON_PARANOID
	movq	16(%r12), %rax
	movl	4(%rax), %edi
	movq	_interrupt_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_max
	movl	%eax, 24(%r12)
	movl	8(%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	8(%r12), %edi
	callq	_create_singlethread_workqueue
	movl	%eax, %ecx
	movl	%eax, 4(%r12)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_efx_fini_struct
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_efx_reset_work,4,2             ## @efx_reset_work
	.comm	_efx_monitor,4,2                ## @efx_monitor
	.comm	_efx_selftest_async_work,4,2    ## @efx_selftest_async_work
	.comm	_debug,4,2                      ## @debug
	.comm	_STATE_UNINIT,4,2               ## @STATE_UNINIT
	.comm	_efx_dummy_phy_operations,4,2   ## @efx_dummy_phy_operations
	.comm	_efx_mac_work,4,2               ## @efx_mac_work
	.comm	_EFX_MAX_CHANNELS,4,2           ## @EFX_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	_efx_init_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_init_struct
_efx_init_struct:                       ; @efx_init_struct
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #120
	bl	_spin_lock_init
	add	x0, x19, #112
Lloh0:
	adrp	x8, _efx_reset_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _efx_reset_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #108
Lloh3:
	adrp	x8, _efx_monitor@GOTPAGE
Lloh4:
	ldr	x8, [x8, _efx_monitor@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #104
Lloh6:
	adrp	x8, _efx_selftest_async_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _efx_selftest_async_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	str	x20, [x19, #96]
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, #84]
	ldr	w22, [x19, #80]
	mov	x0, x20
	bl	_pci_name
	mov	x1, x0
	mov	x0, x22
	mov	w2, #4
	bl	_strlcpy
	str	x21, [x19, #72]
	mov	w8, #1
	str	w8, [x19]
	add	x0, x19, #68
	bl	_spin_lock_init
	add	x0, x19, #64
	bl	_mutex_init
Lloh15:
	adrp	x8, _efx_dummy_phy_operations@GOTPAGE
Lloh16:
	ldr	x8, [x8, _efx_dummy_phy_operations@GOTPAGEOFF]
	stp	x21, x8, [x19, #48]
	add	x0, x19, #44
Lloh17:
	adrp	x8, _efx_mac_work@GOTPAGE
Lloh18:
	ldr	x8, [x8, _efx_mac_work@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #40
	bl	_init_waitqueue_head
Lloh20:
	adrp	x22, _EFX_MAX_CHANNELS@GOTPAGE
Lloh21:
	ldr	x22, [x22, _EFX_MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_efx_alloc_channel
	ldr	x8, [x19, #32]
	str	w0, [x8, x21, lsl #2]
	cbz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	cmp	w9, w8
	cset	w0, gt
	bl	_EFX_BUG_ON_PARANOID
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
Lloh22:
	adrp	x8, _interrupt_mode@GOTPAGE
Lloh23:
	ldr	x8, [x8, _interrupt_mode@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_max
	str	w0, [x19, #24]
	ldr	w21, [x19, #8]
	mov	x0, x20
	bl	_pci_name
	mov	x3, x0
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #4
	bl	_snprintf
	ldr	w0, [x19, #8]
	bl	_create_singlethread_workqueue
	str	w0, [x19, #4]
	cbz	w0, LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_efx_fini_struct
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_efx_reset_work,4,2             ; @efx_reset_work
	.comm	_efx_monitor,4,2                ; @efx_monitor
	.comm	_efx_selftest_async_work,4,2    ; @efx_selftest_async_work
	.comm	_debug,4,2                      ; @debug
	.comm	_STATE_UNINIT,4,2               ; @STATE_UNINIT
	.comm	_efx_dummy_phy_operations,4,2   ; @efx_dummy_phy_operations
	.comm	_efx_mac_work,4,2               ; @efx_mac_work
	.comm	_EFX_MAX_CHANNELS,4,2           ; @EFX_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	_efx_init_struct
.subsections_via_symbols
