	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb_ioctl
_cxgb_ioctl:                            ## @cxgb_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	%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
	movl	%edx, %ebx
	movq	%rsi, %r13
	callq	_netdev_priv
	movq	%rax, %r14
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_37
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%r13), %edi
	callq	_mdio_phy_id_is_c45
	movl	(%r13), %r15d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	callq	_mdio_phy_id_prtad
	movl	%eax, %r15d
	movl	(%r13), %edi
	callq	_mdio_phy_id_devad
	movl	%eax, %ecx
	jmp	LBB0_8
LBB0_11:
	movq	24(%r14), %r12
	movq	%r14, %r15
	addq	$12, %r15
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_copy_from_user
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_2:
	movl	(%r14), %eax
	testl	%eax, %eax
	js	LBB0_37
## %bb.3:
	movl	%eax, (%r13)
	xorl	%ecx, %ecx
	jmp	LBB0_39
LBB0_37:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_10:
	movl	(%r13), %edi
	addq	$12, %r14
	movq	%r14, %rsi
LBB0_36:
	movl	$8, %edx
	callq	_copy_to_user
	movq	_EFAULT@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testl	%eax, %eax
	cmovel	%eax, %ecx
	jmp	LBB0_39
LBB0_6:
	cmpl	$31, %r15d
	jg	LBB0_40
## %bb.7:
	andl	$31, 4(%r13)
	xorl	%ecx, %ecx
LBB0_8:
	movq	24(%r14), %rdi
	movl	(%rdi), %esi
	movl	4(%r13), %r8d
	cmpl	$130, %ebx
	jne	LBB0_9
## %bb.41:
	addq	$12, %r13
	movl	%r15d, %edx
	movq	%r13, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_mdio_rd                     ## TAILCALL
LBB0_9:
	movl	8(%r13), %r9d
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t4_mdio_wr                     ## TAILCALL
LBB0_13:
	movl	4(%r12), %edi
	callq	_is_t4
	testl	%eax, %eax
	je	LBB0_14
## %bb.30:
	movl	16(%r14), %eax
	cmpl	$143, %eax
	je	LBB0_34
## %bb.31:
	cmpl	$142, %eax
	jne	LBB0_33
## %bb.32:
	movl	$0, 4(%r14)
	jmp	LBB0_35
LBB0_40:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_38:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
LBB0_39:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$-133, %eax
	addl	(%r15), %eax
	cmpl	$2, %eax
	jae	LBB0_15
## %bb.16:
	movl	$-135, %eax
	addl	16(%r14), %eax
	cmpl	$8, %eax
	ja	LBB0_33
## %bb.17:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:
	movl	$1, 4(%r14)
	jmp	LBB0_23
LBB0_33:
	movl	$142, 16(%r14)
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_34:
	movl	$1, 4(%r14)
	jmp	LBB0_35
LBB0_15:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_18:
	movl	20(%r14), %esi
	movq	_PTP_TS_L4@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_20:
	movl	20(%r14), %esi
	movq	_PTP_TS_L2_L4@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_cxgb4_ptprx_timestamping
	jmp	LBB0_23
LBB0_22:
	movl	$0, 4(%r14)
LBB0_23:
	cmpl	$134, (%r15)
	jne	LBB0_27
## %bb.24:
	cmpl	$142, 16(%r14)
	jne	LBB0_28
## %bb.25:
	movl	20(%r14), %esi
	movq	%r12, %rdi
	callq	_cxgb4_ptp_txtype
	testl	%eax, %eax
	js	LBB0_27
## %bb.26:
	movl	$0, 8(%r14)
LBB0_27:
	cmpl	$142, 16(%r14)
	je	LBB0_35
LBB0_28:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_cxgb4_ptp_redirect_rx_packet
	testl	%eax, %eax
	js	LBB0_35
## %bb.29:
	movl	$1, 8(%r14)
LBB0_35:
	movl	(%r13), %edi
	movq	%r15, %rsi
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_10
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
LJTI0_1:
	.long	L0_1_set_21
	.long	L0_1_set_18
	.long	L0_1_set_21
	.long	L0_1_set_20
	.long	L0_1_set_21
	.long	L0_1_set_18
	.long	L0_1_set_21
	.long	L0_1_set_22
	.long	L0_1_set_21
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_PTP_TS_L4,4,2                  ## @PTP_TS_L4
	.comm	_PTP_TS_L2_L4,4,2               ## @PTP_TS_L2_L4
	.no_dead_strip	_cxgb_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb_ioctl
_cxgb_ioctl:                            ; @cxgb_ioctl
	.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	x19, x1
	bl	_netdev_priv
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x19]
	bl	_mdio_phy_id_is_c45
	ldr	w22, [x19]
	cbz	w0, LBB0_11
; %bb.3:
	mov	x0, x22
	bl	_mdio_phy_id_prtad
	mov	x22, x0
	ldr	w0, [x19]
	bl	_mdio_phy_id_devad
	mov	x3, x0
	b	LBB0_13
LBB0_4:
	ldr	x22, [x20, #24]
	add	x21, x20, #12
	ldr	w1, [x19]
	mov	x0, x21
	mov	w2, #8
	bl	_copy_from_user
	cbz	w0, LBB0_16
; %bb.5:
Lloh2:
	adrp	x8, _EFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_27
LBB0_6:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_8
; %bb.7:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_28
LBB0_8:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_27
LBB0_9:
	ldr	w0, [x19]
	add	x1, x20, #12
LBB0_10:
	mov	w2, #8
	bl	_copy_to_user
Lloh6:
	adrp	x8, _EFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, eq
	b	LBB0_28
LBB0_11:
	cmp	w22, #31
	b.gt	LBB0_20
; %bb.12:
	mov	w3, #0
	ldr	w8, [x19, #4]
	and	w8, w8, #0x1f
	str	w8, [x19, #4]
LBB0_13:
	ldr	x0, [x20, #24]
	ldr	w1, [x0]
	ldr	w4, [x19, #4]
	cmp	w21, #130
	b.ne	LBB0_15
; %bb.14:
	add	x5, x19, #12
	mov	x2, x22
	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
	b	_t4_mdio_rd
LBB0_15:
	ldr	w5, [x19, #8]
	mov	x2, x22
	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
	b	_t4_mdio_wr
LBB0_16:
	ldr	w0, [x22, #4]
	bl	_is_t4
	cbz	w0, LBB0_21
; %bb.17:
	ldr	w8, [x20, #16]
	cmp	w8, #143
	b.eq	LBB0_29
; %bb.18:
	cmp	w8, #142
	b.ne	LBB0_25
; %bb.19:
	str	wzr, [x20, #4]
	b	LBB0_41
LBB0_20:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_27
LBB0_21:
	ldr	w8, [x21]
	sub	w8, w8, #133
	cmp	w8, #2
	b.hs	LBB0_26
; %bb.22:
	ldr	w8, [x20, #16]
	sub	w8, w8, #135
	cmp	w8, #8
	b.hi	LBB0_25
; %bb.23:
Lloh11:
	adrp	x9, lJTI0_1@PAGE
Lloh12:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_24
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_24:
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_34
LBB0_25:
	mov	w8, #142
	str	w8, [x20, #16]
LBB0_26:
Lloh13:
	adrp	x8, _ERANGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_28:
	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
LBB0_29:
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_41
LBB0_30:
	ldr	w1, [x20, #20]
Lloh15:
	adrp	x8, _PTP_TS_L4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PTP_TS_L4@GOTPAGEOFF]
	b	LBB0_32
LBB0_31:
	ldr	w1, [x20, #20]
Lloh17:
	adrp	x8, _PTP_TS_L2_L4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PTP_TS_L2_L4@GOTPAGEOFF]
LBB0_32:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_cxgb4_ptprx_timestamping
	b	LBB0_34
LBB0_33:
	str	wzr, [x20, #4]
LBB0_34:
	ldr	w8, [x21]
	cmp	w8, #134
	b.ne	LBB0_38
; %bb.35:
	ldr	w8, [x20, #16]
	cmp	w8, #142
	b.ne	LBB0_39
; %bb.36:
	ldr	w1, [x20, #20]
	mov	x0, x22
	bl	_cxgb4_ptp_txtype
	tbnz	w0, #31, LBB0_38
; %bb.37:
	str	wzr, [x20, #8]
LBB0_38:
	ldr	w8, [x20, #16]
	cmp	w8, #142
	b.eq	LBB0_41
LBB0_39:
	mov	x0, x22
	mov	x1, x20
	bl	_cxgb4_ptp_redirect_rx_packet
	tbnz	w0, #31, LBB0_41
; %bb.40:
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_41:
	ldr	w0, [x19]
	mov	x1, x21
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_30-LBB0_24)>>2
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_31-LBB0_24)>>2
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_30-LBB0_24)>>2
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_33-LBB0_24)>>2
	.byte	(LBB0_24-LBB0_24)>>2
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_PTP_TS_L4,4,2                  ; @PTP_TS_L4
	.comm	_PTP_TS_L2_L4,4,2               ; @PTP_TS_L2_L4
	.no_dead_strip	_cxgb_ioctl
.subsections_via_symbols
