	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltpc_ioctl
_ltpc_ioctl:                            ## @ltpc_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_debug@GOTPCREL(%rip), %rax
	movq	_DEBUG_VERBOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_2:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_6
## %bb.4:
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
	movq	_LT_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rcx
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%rcx, %rsi
	movl	$8, %edx
	xorl	%r8d, %r8d
	callq	_do_read
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_read_30
	movq	_LT_FLAG_ALLLAP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_set_30
	movq	(%r12), %rax
	movl	$255, (%rax)
	movl	(%r14), %eax
	movq	16(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$1, 8(%r12)
	jmp	LBB0_7
LBB0_5:
	movl	4(%r14), %eax
	movl	%eax, 4(%r15)
	movl	(%r14), %eax
	movl	%eax, (%r15)
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_VERBOSE,4,2              ## @DEBUG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ltpc_ioctl called\n"

	.comm	_LT_INIT,4,2                    ## @LT_INIT
	.comm	_LT_FLAG_ALLLAP,4,2             ## @LT_FLAG_ALLLAP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ltpc_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltpc_ioctl
_ltpc_ioctl:                            ; @ltpc_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DEBUG_VERBOSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEBUG_VERBOSE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_2:
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w22, #128
	b.ne	LBB0_6
; %bb.4:
	ldp	w9, w8, [x21]
	str	w8, [x20, #4]
Lloh8:
	adrp	x8, _LT_INIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LT_INIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #8
	mov	w4, #0
	bl	_do_read
	str	w0, [x20]
	mov	x0, x19
	bl	_read_30
Lloh11:
	adrp	x8, _LT_FLAG_ALLLAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LT_FLAG_ALLLAP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_set_30
	mov	w0, #0
	ldr	x8, [x19]
	mov	w9, #255
	str	w9, [x8]
	ldr	w8, [x20]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	ldr	d0, [x20]
	str	d0, [x21]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_VERBOSE,4,2              ; @DEBUG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ltpc_ioctl called\n"

	.comm	_LT_INIT,4,2                    ; @LT_INIT
	.comm	_LT_FLAG_ALLLAP,4,2             ; @LT_FLAG_ALLLAP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ltpc_ioctl
.subsections_via_symbols
