	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ptm_stop
_ptm_stop:                              ## @ptm_stop
	.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
	movq	%rdi, %r14
	movq	_g_net_dev@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpq	%r14, (%rdi,%rbx,8)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_1
LBB0_3:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setl	%dil
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_ASSERT
	movl	$65537, %edi                    ## imm = 0x10001
	movl	%ebx, %ecx
	shll	%cl, %edi
	movq	_MBOX_IGU1_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_IFX_REG_W32_MASK
	movq	_g_ptm_priv_data@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	_napi_disable
	movq	%r14, %rdi
	callq	_netif_stop_queue
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_net_dev,8,3                  ## @g_net_dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ndev = %d (wrong value)"

	.comm	_MBOX_IGU1_IER,4,2              ## @MBOX_IGU1_IER
	.comm	_g_ptm_priv_data,8,3            ## @g_ptm_priv_data
	.no_dead_strip	_ptm_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ptm_stop
_ptm_stop:                              ; @ptm_stop
	.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	x19, x0
Lloh0:
	adrp	x21, _g_net_dev@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_net_dev@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldr	x8, [x0, x20, lsl #3]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	cset	w0, lt
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_ASSERT
	mov	w8, #65537
	lsl	w0, w8, w20
Lloh4:
	adrp	x8, _MBOX_IGU1_IER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MBOX_IGU1_IER@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_IFX_REG_W32_MASK
Lloh7:
	adrp	x8, _g_ptm_priv_data@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_ptm_priv_data@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x0, x8, w20, uxtw #2
	bl	_napi_disable
	mov	x0, x19
	bl	_netif_stop_queue
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_g_net_dev,8,3                  ; @g_net_dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ndev = %d (wrong value)"

	.comm	_MBOX_IGU1_IER,4,2              ; @MBOX_IGU1_IER
	.comm	_g_ptm_priv_data,8,3            ; @g_ptm_priv_data
	.no_dead_strip	_ptm_stop
.subsections_via_symbols
