	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netdev_tx_timeout
_netdev_tx_timeout:                     ## @netdev_tx_timeout
	.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	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %r15
	cmpl	$2, (%r15)
	jl	LBB0_3
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	(%rbx), %rsi
	addq	_netdev_tx_timeout.last_reset(%rip), %rsi
	callq	_time_before_eq
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	%rax, _netdev_tx_timeout.last_reset(%rip)
	jmp	LBB0_14
LBB0_3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _netdev_tx_timeout.last_reset(%rip)
	movq	%r15, %rdi
	callq	_hw_dis_intr
	movq	%r15, %rdi
	callq	_hw_disable
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_transmit_cleanup
	leaq	32(%r15), %rdi
	callq	_hw_reset_pkts
	leaq	36(%r15), %rdi
	callq	_hw_reset_pkts
	movq	%r15, %rdi
	callq	_ksz_init_rx_buffers
	movq	%r15, %rdi
	callq	_hw_reset
	movl	32(%r15), %edx
	movl	36(%r15), %esi
	movq	%r15, %rdi
	callq	_hw_set_desc_base
	movq	%r15, %rdi
	callq	_hw_set_addr
	movq	24(%r15), %rsi
	testq	%rsi, %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_hw_set_multicast
	jmp	LBB0_7
LBB0_5:
	cmpq	$0, 16(%r15)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_hw_set_grp_addr
LBB0_7:
	cmpl	$2, (%r15)
	jl	LBB0_13
## %bb.8:
	movq	%r15, %rdi
	callq	_hw_set_add_addr
	movq	_SWITCH_PORT_NUM@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_13
## %bb.9:
	xorl	%ebx, %ebx
	movq	_STP_STATE_DISABLED@GOTPCREL(%rip), %r13
	movq	_STP_STATE_SIMPLE@GOTPCREL(%rip), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_port_set_stp_state
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_port_set_stp_state
	jmp	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_hw_enable
	movq	%r15, %rdi
	callq	_hw_ena_intr
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	movq	%rbx, %rdi
	callq	_netif_trans_update
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_netdev_tx_timeout.last_reset,8,3 ## @netdev_tx_timeout.last_reset
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SWITCH_PORT_NUM,4,2            ## @SWITCH_PORT_NUM
	.comm	_STP_STATE_DISABLED,4,2         ## @STP_STATE_DISABLED
	.comm	_STP_STATE_SIMPLE,4,2           ## @STP_STATE_SIMPLE
	.no_dead_strip	_netdev_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netdev_tx_timeout
_netdev_tx_timeout:                     ; @netdev_tx_timeout
	.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
	mov	x19, x0
	bl	_netdev_priv
	ldr	x20, [x0]
	ldr	w8, [x20]
Lloh0:
	adrp	x22, _jiffies@GOTPAGE
Lloh1:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	adrp	x21, _netdev_tx_timeout.last_reset@PAGE
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x0, [x22]
	ldr	x8, [x21, _netdev_tx_timeout.last_reset@PAGEOFF]
	ldr	x9, [x19]
	add	x1, x9, x8
	bl	_time_before_eq
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	str	x8, [x21, _netdev_tx_timeout.last_reset@PAGEOFF]
	b	LBB0_14
LBB0_3:
	ldr	x8, [x22]
	str	x8, [x21, _netdev_tx_timeout.last_reset@PAGEOFF]
	mov	x0, x20
	bl	_hw_dis_intr
	mov	x0, x20
	bl	_hw_disable
	mov	x0, x20
	mov	w1, #0
	bl	_transmit_cleanup
	add	x0, x20, #32
	bl	_hw_reset_pkts
	add	x0, x20, #36
	bl	_hw_reset_pkts
	mov	x0, x20
	bl	_ksz_init_rx_buffers
	mov	x0, x20
	bl	_hw_reset
	ldp	w2, w1, [x20, #32]
	mov	x0, x20
	bl	_hw_set_desc_base
	mov	x0, x20
	bl	_hw_set_addr
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_hw_set_multicast
	b	LBB0_7
LBB0_5:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_hw_set_grp_addr
LBB0_7:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.8:
	mov	x0, x20
	bl	_hw_set_add_addr
Lloh2:
	adrp	x22, _SWITCH_PORT_NUM@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SWITCH_PORT_NUM@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x21, #0
Lloh4:
	adrp	x23, _STP_STATE_DISABLED@GOTPAGE
Lloh5:
	ldr	x23, [x23, _STP_STATE_DISABLED@GOTPAGEOFF]
Lloh6:
	adrp	x24, _STP_STATE_SIMPLE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _STP_STATE_SIMPLE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_port_set_stp_state
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x21, lsl #3]
	bl	_netif_running
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_port_set_stp_state
	b	LBB0_10
LBB0_13:
	mov	x0, x20
	bl	_hw_enable
	mov	x0, x20
	bl	_hw_ena_intr
LBB0_14:
	mov	x0, x19
	bl	_netif_trans_update
	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	_netif_wake_queue
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_netdev_tx_timeout.last_reset,8,3 ; @netdev_tx_timeout.last_reset
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SWITCH_PORT_NUM,4,2            ; @SWITCH_PORT_NUM
	.comm	_STP_STATE_DISABLED,4,2         ; @STP_STATE_DISABLED
	.comm	_STP_STATE_SIMPLE,4,2           ; @STP_STATE_SIMPLE
	.no_dead_strip	_netdev_tx_timeout
.subsections_via_symbols
