	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glc_tick
_glc_tick:                              ## @glc_tick
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$40, %rdi
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtx_assert
	movl	36(%rbx), %edi
	movl	32(%rbx), %esi
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %edx
	xorl	%ecx, %ecx
	callq	_lv1_net_start_rx_dma
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	decq	%rax
	movq	%rax, 8(%rbx)
	je	LBB0_3
LBB0_2:
	leaq	20(%rbx), %rdi
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_glc_tick(%rip), %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_callout_reset                  ## TAILCALL
LBB0_3:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glc_init_locked                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_hz,4,2                         ## @hz
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device timeout\n"

	.no_dead_strip	_glc_tick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glc_tick
_glc_tick:                              ; @glc_tick
	.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, x0
	add	x0, x0, #40
Lloh0:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mtx_assert
	ldp	w1, w0, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	ldr	w2, [x8, x9, lsl #2]
	mov	w3, #0
	bl	_lv1_net_start_rx_dma
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	subs	x8, x8, #1
	str	x8, [x19, #8]
	b.eq	LBB0_3
LBB0_2:
	add	x0, x19, #20
Lloh3:
	adrp	x8, _hz@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, _glc_tick@PAGE
Lloh7:
	add	x2, x2, _glc_tick@PAGEOFF
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_callout_reset
LBB0_3:
	ldr	w0, [x19, #16]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_glc_init_locked
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_hz,4,2                         ; @hz
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device timeout\n"

	.no_dead_strip	_glc_tick
.subsections_via_symbols
