	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_ppp_dev_ioctl             ## -- Begin function isdn_ppp_dev_ioctl
	.p2align	4, 0x90
_isdn_ppp_dev_ioctl:                    ## @isdn_ppp_dev_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rcx
	movq	_ISDN_NET_ENCAP_SYNCPPP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.1:
	cmpl	$129, %r15d
	je	LBB0_6
## %bb.2:
	cmpl	$128, %r15d
	jne	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rbx
	movl	%ebx, %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_copy_to_user
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	8(%rax), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isdn_ppp_dev_ioctl_stats       ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDN_NET_ENCAP_SYNCPPP,8,3     ## @ISDN_NET_ENCAP_SYNCPPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"2.3.7"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_PPP_VERSION,4,2                ## @PPP_VERSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_ppp_dev_ioctl             ; -- Begin function isdn_ppp_dev_ioctl
	.p2align	2
_isdn_ppp_dev_ioctl:                    ; @isdn_ppp_dev_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
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISDN_NET_ENCAP_SYNCPPP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISDN_NET_ENCAP_SYNCPPP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	cmp	w21, #129
	b.eq	LBB0_8
; %bb.2:
	cmp	w21, #128
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	add	w2, w0, #1
	ldr	w0, [x19]
	mov	x1, x20
	bl	_copy_to_user
	cbz	w0, LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _EFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	ldr	w0, [x0, #8]
	mov	x1, x19
	mov	x2, 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
	b	_isdn_ppp_dev_ioctl_stats
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDN_NET_ENCAP_SYNCPPP,8,3     ; @ISDN_NET_ENCAP_SYNCPPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"2.3.7"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_PPP_VERSION,4,2                ; @PPP_VERSION
.subsections_via_symbols
