	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_probe_all
_efx_probe_all:                         ## @efx_probe_all
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_efx_probe_nic
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
	jmp	LBB0_13
LBB0_2:
	movq	%r14, %rdi
	callq	_efx_probe_port
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
	jmp	LBB0_12
LBB0_4:
	movq	_EFX_DEFAULT_DMAQ_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_EFX_RXQ_MIN_ENT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_BUILD_BUG_ON
	movq	(%r15), %rbx
	movq	%r14, %rdi
	callq	_EFX_TXQ_MIN_ENT
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setl	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	%rax, 24(%r14)
	movq	%r14, %rdi
	callq	_efx_probe_filters
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
	jmp	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_efx_probe_channels
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_efx_remove_filters
LBB0_11:
	movq	%r14, %rdi
	callq	_efx_remove_port
LBB0_12:
	movq	%r14, %rdi
	callq	_efx_remove_nic
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create NIC\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to create port\n"

	.comm	_EFX_DEFAULT_DMAQ_SIZE,8,3      ## @EFX_DEFAULT_DMAQ_SIZE
	.comm	_EFX_RXQ_MIN_ENT,8,3            ## @EFX_RXQ_MIN_ENT
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"failed to create filter tables\n"

	.no_dead_strip	_efx_probe_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_probe_all
_efx_probe_all:                         ; @efx_probe_all
	.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	x19, x0
	bl	_efx_probe_nic
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _probe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_12
LBB0_2:
	mov	x0, x19
	bl	_efx_probe_port
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh5:
	adrp	x8, _probe@GOTPAGE
Lloh6:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_11
LBB0_4:
Lloh10:
	adrp	x20, _EFX_DEFAULT_DMAQ_SIZE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _EFX_DEFAULT_DMAQ_SIZE@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _EFX_RXQ_MIN_ENT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EFX_RXQ_MIN_ENT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_BUILD_BUG_ON
	ldr	x21, [x20]
	mov	x0, x19
	bl	_EFX_TXQ_MIN_ENT
	cmp	x21, x0
	cset	w0, lt
	bl	_WARN_ON
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_6:
	ldr	x8, [x20]
	stp	x8, x8, [x19, #16]
	mov	x0, x19
	bl	_efx_probe_filters
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
Lloh18:
	adrp	x8, _probe@GOTPAGE
Lloh19:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh21:
	adrp	x3, l_.str.2@PAGE
Lloh22:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_efx_probe_channels
	mov	x20, x0
	cbz	w0, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_efx_remove_filters
LBB0_10:
	mov	x0, x19
	bl	_efx_remove_port
LBB0_11:
	mov	x0, x19
	bl	_efx_remove_nic
LBB0_12:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create NIC\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to create port\n"

	.comm	_EFX_DEFAULT_DMAQ_SIZE,8,3      ; @EFX_DEFAULT_DMAQ_SIZE
	.comm	_EFX_RXQ_MIN_ENT,8,3            ; @EFX_RXQ_MIN_ENT
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"failed to create filter tables\n"

	.no_dead_strip	_efx_probe_all
.subsections_via_symbols
