	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xm_link_timer
_xm_link_timer:                         ## @xm_link_timer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_link_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	16(%rax), %r12
	movq	8(%rax), %r15
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_XM_GP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_read16
	movq	_XM_GP_INP_ASS@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	jne	LBB0_6
## %bb.2:
	movq	_XM_GP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_read16
	testl	%eax, (%r13)
	jne	LBB0_6
## %bb.3:
	movq	_XM_GP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_read16
	testl	%eax, (%r13)
	je	LBB0_4
LBB0_6:
	addq	$4, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_LINK_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_round_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mod_timer
LBB0_7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_xm_check_link
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_XM_IMSK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_read16
	movq	_XM_IS_INP_ASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_write16
	movq	_XM_ISRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_xm_read16
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_link_timer,4,2                 ## @link_timer
	.comm	_XM_GP_PORT,4,2                 ## @XM_GP_PORT
	.comm	_XM_GP_INP_ASS,4,2              ## @XM_GP_INP_ASS
	.comm	_XM_IMSK,4,2                    ## @XM_IMSK
	.comm	_XM_IS_INP_ASS,4,2              ## @XM_IS_INP_ASS
	.comm	_XM_ISRC,4,2                    ## @XM_ISRC
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_LINK_HZ,8,3                    ## @LINK_HZ
	.comm	_skge,8,3                       ## @skge
	.no_dead_strip	_xm_link_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xm_link_timer
_xm_link_timer:                         ; @xm_link_timer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _link_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _link_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x21, x0
	ldp	x19, x22, [x0, #8]
	ldr	w20, [x0]
	mov	x0, x22
	bl	_netif_running
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x23, _XM_GP_PORT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _XM_GP_PORT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read16
Lloh5:
	adrp	x24, _XM_GP_INP_ASS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _XM_GP_INP_ASS@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.2:
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read16
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.3:
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read16
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, _jiffies@GOTPAGE
Lloh8:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x20, x21, #4
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _LINK_HZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LINK_HZ@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies
	mov	x1, x0
	mov	x0, x20
	bl	_mod_timer
LBB0_5:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x22
	bl	_xm_check_link
	cbz	x0, LBB0_4
; %bb.8:
Lloh13:
	adrp	x21, _XM_IMSK@GOTPAGE
Lloh14:
	ldr	x21, [x21, _XM_IMSK@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read16
Lloh15:
	adrp	x8, _XM_IS_INP_ASS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XM_IS_INP_ASS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w3, w0, w8
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_write16
Lloh18:
	adrp	x8, _XM_ISRC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XM_ISRC@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read16
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_link_timer,4,2                 ; @link_timer
	.comm	_XM_GP_PORT,4,2                 ; @XM_GP_PORT
	.comm	_XM_GP_INP_ASS,4,2              ; @XM_GP_INP_ASS
	.comm	_XM_IMSK,4,2                    ; @XM_IMSK
	.comm	_XM_IS_INP_ASS,4,2              ; @XM_IS_INP_ASS
	.comm	_XM_ISRC,4,2                    ; @XM_ISRC
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_LINK_HZ,8,3                    ; @LINK_HZ
	.comm	_skge,8,3                       ; @skge
	.no_dead_strip	_xm_link_timer
.subsections_via_symbols
