	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ptm_showtime_enter
_ptm_showtime_enter:                    ## @ptm_showtime_enter
	.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	%rsi, %rbx
	xorl	%eax, %eax
	testq	%rdi, %rdi
	setne	%al
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_ASSERT
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_ASSERT
	movq	_g_xdata_addr@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_g_showtime@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	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
	movl	(%rax,%rbx,4), %edi
	callq	_netif_carrier_on
	incq	%rbx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_UTP_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_IFX_REG_W32
	leaq	L_.str.2(%rip), %rdi
	callq	_printk
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"port_cell is NULL"

L_.str.1:                               ## @.str.1
	.asciz	"xdata_addr is NULL"

	.comm	_g_xdata_addr,8,3               ## @g_xdata_addr
	.comm	_g_showtime,4,2                 ## @g_showtime
	.comm	_g_net_dev,8,3                  ## @g_net_dev
	.comm	_UTP_CFG,4,2                    ## @UTP_CFG
L_.str.2:                               ## @.str.2
	.asciz	"enter showtime\n"

	.no_dead_strip	_ptm_showtime_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ptm_showtime_enter
_ptm_showtime_enter:                    ; @ptm_showtime_enter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ASSERT
	cmp	x19, #0
	cset	w0, ne
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ASSERT
Lloh4:
	adrp	x8, _g_xdata_addr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _g_xdata_addr@GOTPAGEOFF]
Lloh6:
	adrp	x9, _g_showtime@GOTPAGE
Lloh7:
	ldr	x9, [x9, _g_showtime@GOTPAGEOFF]
Lloh8:
	str	x19, [x8]
	mov	w8, #1
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x19, _g_net_dev@GOTPAGE
Lloh11:
	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	w0, [x8, x20, lsl #2]
	bl	_netif_carrier_on
	add	x20, x20, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh12:
	adrp	x8, _UTP_CFG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UTP_CFG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #15
	bl	_IFX_REG_W32
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"port_cell is NULL"

l_.str.1:                               ; @.str.1
	.asciz	"xdata_addr is NULL"

	.comm	_g_xdata_addr,8,3               ; @g_xdata_addr
	.comm	_g_showtime,4,2                 ; @g_showtime
	.comm	_g_net_dev,8,3                  ; @g_net_dev
	.comm	_UTP_CFG,4,2                    ; @UTP_CFG
l_.str.2:                               ; @.str.2
	.asciz	"enter showtime\n"

	.no_dead_strip	_ptm_showtime_enter
.subsections_via_symbols
