	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_unregister_netdev
_efx_unregister_netdev:                 ## @efx_unregister_netdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	callq	_netdev_priv
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setne	%dil
	callq	_BUG_ON
	movq	%rbx, %rdi
	callq	_efx_dev_registered
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	16(%rbx), %r14d
	movq	8(%rbx), %rdi
	callq	_pci_name
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	8(%rbx), %rdi
	movq	_dev_attr_phy_type@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_unregister_netdev              ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_phy_type,4,2          ## @dev_attr_phy_type
	.comm	_dev_attr_mcdi_logging,4,2      ## @dev_attr_mcdi_logging
	.no_dead_strip	_efx_unregister_netdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_unregister_netdev
_efx_unregister_netdev:                 ; @efx_unregister_netdev
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_3
; %bb.1:
	bl	_netdev_priv
	cmp	x0, x19
	cset	w0, ne
	bl	_BUG_ON
	mov	x0, x19
	bl	_efx_dev_registered
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w20, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_pci_name
	mov	x1, x0
	mov	x0, x20
	mov	w2, #4
	bl	_strlcpy
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, _dev_attr_phy_type@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_phy_type@GOTPAGEOFF]
	bl	_device_remove_file
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_unregister_netdev
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_phy_type,4,2          ; @dev_attr_phy_type
	.comm	_dev_attr_mcdi_logging,4,2      ; @dev_attr_mcdi_logging
	.no_dead_strip	_efx_unregister_netdev
.subsections_via_symbols
