	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_ptm_remove
_ltq_ptm_remove:                        ## @ltq_ptm_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ifx_mei_atm_showtime_enter@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ifx_mei_atm_showtime_exit@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_proc_file_delete
	xorl	%edi, %edi
	callq	_ifx_pp32_stop
	movq	_PPE_MAILBOX_IGU1_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_g_ptm_priv_data@GOTPCREL(%rip), %rsi
	callq	_free_irq
	movq	_g_net_dev@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_unregister_netdev
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free_netdev
	movq	(%r14), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_ifx_ptm_uninit_chip
	xorl	%eax, %eax
	callq	_clear_priv_data
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifx_mei_atm_showtime_enter,8,3 ## @ifx_mei_atm_showtime_enter
	.comm	_ifx_mei_atm_showtime_exit,8,3  ## @ifx_mei_atm_showtime_exit
	.comm	_PPE_MAILBOX_IGU1_INT,4,2       ## @PPE_MAILBOX_IGU1_INT
	.comm	_g_ptm_priv_data,4,2            ## @g_ptm_priv_data
	.comm	_g_net_dev,8,3                  ## @g_net_dev
	.no_dead_strip	_ltq_ptm_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_ptm_remove
_ltq_ptm_remove:                        ; @ltq_ptm_remove
	.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
Lloh0:
	adrp	x8, _ifx_mei_atm_showtime_enter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifx_mei_atm_showtime_enter@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _ifx_mei_atm_showtime_exit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ifx_mei_atm_showtime_exit@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
	bl	_proc_file_delete
	mov	w0, #0
	bl	_ifx_pp32_stop
Lloh6:
	adrp	x8, _PPE_MAILBOX_IGU1_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PPE_MAILBOX_IGU1_INT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, _g_ptm_priv_data@GOTPAGE
Lloh10:
	ldr	x1, [x1, _g_ptm_priv_data@GOTPAGEOFF]
	bl	_free_irq
Lloh11:
	adrp	x19, _g_net_dev@GOTPAGE
Lloh12:
	ldr	x19, [x19, _g_net_dev@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
	bl	_unregister_netdev
	add	x20, x20, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	lsl	x21, x20, #3
	ldr	x0, [x8, x21]
	bl	_free_netdev
	ldr	x8, [x19]
	str	xzr, [x8, x21]
	add	x20, x20, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	bl	_ifx_ptm_uninit_chip
	bl	_clear_priv_data
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ifx_mei_atm_showtime_enter,8,3 ; @ifx_mei_atm_showtime_enter
	.comm	_ifx_mei_atm_showtime_exit,8,3  ; @ifx_mei_atm_showtime_exit
	.comm	_PPE_MAILBOX_IGU1_INT,4,2       ; @PPE_MAILBOX_IGU1_INT
	.comm	_g_ptm_priv_data,4,2            ; @g_ptm_priv_data
	.comm	_g_net_dev,8,3                  ; @g_net_dev
	.no_dead_strip	_ltq_ptm_remove
.subsections_via_symbols
