	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppe_ioctl
_ppe_ioctl:                             ## @ppe_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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	%esi, %edi
	callq	__IOC_TYPE
	movq	_PPE_ATM_IOC_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	__IOC_NR
	movq	_PPE_ATM_IOC_MAXNR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.3:
	movl	%ebx, %edi
	callq	__IOC_DIR
	movq	__IOC_READ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_VERIFY_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
LBB0_20:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ebx, %edi
	callq	__IOC_DIR
	movq	__IOC_WRITE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.6:
	movq	_VERIFY_READ@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	__IOC_SIZE
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_access_ok
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	cmpl	$128, %ebx
	je	LBB0_16
## %bb.10:
	cmpl	$130, %ebx
	je	LBB0_15
## %bb.11:
	cmpl	$129, %ebx
	jne	LBB0_19
## %bb.12:
	movl	$0, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -60(%rbp)
	movq	_WAN_MIB_TABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	24(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$0, -44(%rbp)
	jmp	LBB0_13
LBB0_8:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_16:
	leaq	-112(%rbp), %rdi
	movl	$80, %ebx
	movq	%r14, %rsi
	movl	$80, %edx
	callq	_copy_from_user
	movl	-100(%rbp), %esi
	movl	-96(%rbp), %edi
	callq	_find_vpivci
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, %eax
	movl	4(%rcx,%rax,8), %edx
	movl	%edx, -104(%rbp)
	movl	(%rcx,%rax,8), %eax
	movl	%eax, -108(%rbp)
	movl	$0, -112(%rbp)
	leaq	-112(%rbp), %rsi
	jmp	LBB0_14
LBB0_15:
	movq	_WAN_MIB_TABLE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %r12d
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rbx
	movl	%r12d, %esi
	subl	(%rbx), %esi
	movq	44(%rbx), %rdi
	leaq	44(%rbx), %rdx
	callq	_u64_add_u32
	movl	%r12d, (%rbx)
	movq	36(%rbx), %rdi
	movq	44(%rbx), %rax
	movq	%rax, -52(%rbp)
	movq	(%r15), %rax
	movl	4(%rax), %r12d
	movl	%r12d, %esi
	subl	4(%rbx), %esi
	leaq	36(%rbx), %rdx
	callq	_u64_add_u32
	movl	%r12d, 4(%rbx)
	movl	40(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	(%r15), %rax
	movsd	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	16(%rax), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, -72(%rbp)
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
	addq	8(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movq	%rcx, -92(%rbp)
LBB0_13:
	leaq	-112(%rbp), %rsi
	movl	$80, %ebx
LBB0_14:
	movq	%r14, %rdi
	movl	$80, %edx
	callq	_copy_to_user
	subl	%eax, %ebx
	jmp	LBB0_21
LBB0_19:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_PPE_ATM_IOC_MAGIC,8,3          ## @PPE_ATM_IOC_MAGIC
	.comm	_PPE_ATM_IOC_MAXNR,8,3          ## @PPE_ATM_IOC_MAXNR
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.comm	__IOC_READ,4,2                  ## @_IOC_READ
	.comm	_VERIFY_WRITE,4,2               ## @VERIFY_WRITE
	.comm	__IOC_WRITE,4,2                 ## @_IOC_WRITE
	.comm	_VERIFY_READ,4,2                ## @VERIFY_READ
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_WAN_MIB_TABLE,8,3              ## @WAN_MIB_TABLE
	.comm	_g_atm_priv_data,56,3           ## @g_atm_priv_data
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.no_dead_strip	_ppe_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppe_ioctl
_ppe_ioctl:                             ; @ppe_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x0, x1
	bl	__IOC_TYPE
Lloh0:
	adrp	x8, _PPE_ATM_IOC_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPE_ATM_IOC_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	__IOC_NR
Lloh3:
	adrp	x8, _PPE_ATM_IOC_MAXNR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPE_ATM_IOC_MAXNR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	__IOC_DIR
Lloh6:
	adrp	x8, __IOC_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, __IOC_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.3:
Lloh9:
	adrp	x8, _VERIFY_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VERIFY_WRITE@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh11:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
	mov	x0, x20
	bl	__IOC_DIR
Lloh13:
	adrp	x8, __IOC_WRITE@GOTPAGE
Lloh14:
	ldr	x8, [x8, __IOC_WRITE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.8:
Lloh16:
	adrp	x8, _VERIFY_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VERIFY_READ@GOTPAGEOFF]
LBB0_9:
	ldr	w21, [x8]
	mov	x0, x20
	bl	__IOC_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_access_ok
	cbz	w0, LBB0_14
LBB0_10:
	cmp	w20, #128
	b.eq	LBB0_15
; %bb.11:
	cmp	w20, #130
	b.eq	LBB0_17
; %bb.12:
	cmp	w20, #129
	b.ne	LBB0_20
; %bb.13:
	str	wzr, [sp, #40]
	stur	xzr, [sp, #60]
	stur	xzr, [sp, #52]
Lloh18:
	adrp	x8, _WAN_MIB_TABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WAN_MIB_TABLE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w8, [x8, #24]
	stp	wzr, w8, [sp, #68]
	b	LBB0_18
LBB0_14:
Lloh21:
	adrp	x8, _EFAULT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_5
LBB0_15:
	mov	w20, #80
	mov	x0, sp
	mov	x1, x19
	mov	w2, #80
	bl	_copy_from_user
	ldp	w1, w0, [sp, #12]
	bl	_find_vpivci
	tbnz	w0, #31, LBB0_21
; %bb.16:
Lloh23:
	adrp	x8, _g_atm_priv_data@GOTPAGE
Lloh24:
	ldr	x8, [x8, _g_atm_priv_data@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8, #8]
	ldr	d0, [x8, w0, uxtw #3]
	stur	d0, [sp, #4]
	str	wzr, [sp]
	b	LBB0_19
LBB0_17:
Lloh26:
	adrp	x21, _WAN_MIB_TABLE@GOTPAGE
Lloh27:
	ldr	x21, [x21, _WAN_MIB_TABLE@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh28:
	adrp	x22, _g_atm_priv_data@GOTPAGE
Lloh29:
	ldr	x22, [x22, _g_atm_priv_data@GOTPAGEOFF]
	ldr	w23, [x8]
	ldr	w8, [x22]
	sub	w1, w23, w8
	mov	x20, x22
	ldr	x0, [x20, #44]!
	mov	x2, x20
	bl	_u64_add_u32
	str	w23, [x22]
	ldr	d0, [x20]
	stur	d0, [sp, #60]
	ldr	x8, [x21]
	ldr	w20, [x8, #4]
	ldr	w8, [x22, #4]
	sub	w1, w20, w8
	mov	x2, x22
	ldr	x0, [x2, #36]!
	bl	_u64_add_u32
	str	w20, [x22, #4]
	ldr	w8, [x22, #40]
	str	w8, [sp, #56]
	ldr	x8, [x21]
	ldr	d0, [x22, #32]
	ldr	d1, [x8, #16]
	mov.d	v1[1], v0[0]
	stur	q1, [sp, #40]
	ldr	x8, [x8, #8]
	ldr	x9, [x22, #24]
	add	x8, x9, x8
	str	x8, [sp, #32]
	ldr	d0, [x22, #16]
	stur	d0, [sp, #20]
LBB0_18:
	mov	w20, #80
LBB0_19:
	mov	x1, sp
	mov	x0, x19
	mov	w2, #80
	bl	_copy_to_user
	sub	w0, w20, w0
	b	LBB0_6
LBB0_20:
Lloh30:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
	b	LBB0_5
LBB0_21:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_PPE_ATM_IOC_MAGIC,8,3          ; @PPE_ATM_IOC_MAGIC
	.comm	_PPE_ATM_IOC_MAXNR,8,3          ; @PPE_ATM_IOC_MAXNR
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.comm	__IOC_READ,4,2                  ; @_IOC_READ
	.comm	_VERIFY_WRITE,4,2               ; @VERIFY_WRITE
	.comm	__IOC_WRITE,4,2                 ; @_IOC_WRITE
	.comm	_VERIFY_READ,4,2                ; @VERIFY_READ
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_WAN_MIB_TABLE,8,3              ; @WAN_MIB_TABLE
	.comm	_g_atm_priv_data,56,3           ; @g_atm_priv_data
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.no_dead_strip	_ppe_ioctl
.subsections_via_symbols
