	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_ioctl
_bcm_enet_ioctl:                        ## @bcm_enet_ioctl
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.3:
	movq	%r15, %rsi
	movl	%r14d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_mii_ioctl                  ## TAILCALL
LBB0_4:
	movq	%rbx, -32(%rbp)
	movq	_bcm_enet_mdio_read_mii@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_bcm_enet_mdio_write_mii@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	$0, -48(%rbp)
	movabsq	$133143986239, %rax             ## imm = 0x1F0000003F
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	callq	_if_mii
	leaq	-56(%rbp), %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_generic_mii_ioctl
	jmp	LBB0_5
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_bcm_enet_mdio_read_mii,4,2     ## @bcm_enet_mdio_read_mii
	.comm	_bcm_enet_mdio_write_mii,4,2    ## @bcm_enet_mdio_write_mii
	.no_dead_strip	_bcm_enet_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bcm_enet_ioctl
lCPI0_0:
	.long	63                              ; 0x3f
	.long	31                              ; 0x1f
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bcm_enet_ioctl:                        ; @bcm_enet_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x21]
	cbz	w0, LBB0_4
; %bb.2:
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_phy_mii_ioctl
LBB0_3:
	str	x21, [sp, #24]
Lloh0:
	adrp	x8, _bcm_enet_mdio_read_mii@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bcm_enet_mdio_read_mii@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _bcm_enet_mdio_write_mii@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bcm_enet_mdio_write_mii@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	mov	x0, x20
	bl	_if_mii
	mov	x1, x0
	mov	x0, sp
	mov	x2, x19
	mov	x3, #0
	bl	_generic_mii_ioctl
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_bcm_enet_mdio_read_mii,4,2     ; @bcm_enet_mdio_read_mii
	.comm	_bcm_enet_mdio_write_mii,4,2    ; @bcm_enet_mdio_write_mii
	.no_dead_strip	_bcm_enet_ioctl
.subsections_via_symbols
