	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function espibug_workaround_t204
_espibug_workaround_t204:               ## @espibug_workaround_t204
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_espibug_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	24(%rax), %r12
	movq	_MAX_NPORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_PORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_13
## %bb.1:
	movl	16(%r12), %r13d
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_t1_espi_get_mon_t204
	testq	%rax, %rax
	js	LBB0_14
## %bb.2:
	testq	%r13, %r13
	je	LBB0_13
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_skb_get
	movq	8(%r12), %rcx
	movl	(%rcx,%r15,4), %ecx
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_t1_sge_tx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rbx
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %edi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	$4095, %eax                     ## imm = 0xFFF
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_ch_mac_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_copy_to_linear_data_offset
	movl	8(%rbx), %esi
	addl	$-10, %esi
	movq	_ch_mac_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_skb_copy_to_linear_data_offset
	movq	(%rbx), %rax
	movl	$255, (%rax)
	jmp	LBB0_11
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%r14), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_espibug_timer,4,2              ## @espibug_timer
	.comm	_MAX_NPORTS,4,2                 ## @MAX_NPORTS
	.comm	_PORT_MASK,4,2                  ## @PORT_MASK
	.comm	_ch_mac_addr,4,2                ## @ch_mac_addr
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_sge,8,3                        ## @sge
	.no_dead_strip	_espibug_workaround_t204
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function espibug_workaround_t204
_espibug_workaround_t204:               ; @espibug_workaround_t204
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _espibug_timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _espibug_timer@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w23, [x20, #16]
Lloh6:
	adrp	x8, _MAX_NPORTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_NPORTS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _PORT_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PORT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_t1_espi_get_mon_t204
	tbnz	x0, #63, LBB0_12
; %bb.2:
	cbz	w23, LBB0_11
; %bb.3:
	mov	x24, #0
Lloh14:
	adrp	x25, _ch_mac_addr@GOTPAGE
Lloh15:
	ldr	x25, [x25, _ch_mac_addr@GOTPAGEOFF]
Lloh16:
	adrp	x26, _ETH_ALEN@GOTPAGE
Lloh17:
	ldr	x26, [x26, _ETH_ALEN@GOTPAGEOFF]
	mov	w27, #255
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_skb_get
	ldr	x8, [x20, #8]
	ldr	w3, [x8, x24, lsl #2]
	mov	x1, x20
	mov	w2, #0
	bl	_t1_sge_tx
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	cmp	x23, x24
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x22, [x8, x24, lsl #3]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x24, lsl #2]
	bl	_netif_running
	cbz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x24, lsl #2]
	bl	_netif_queue_stopped
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, x24, lsl #2]
	cmp	w8, #0
	and	w8, w8, #0xfff
	ccmp	w8, #0, #0, ne
	ccmp	x22, #0, #4, eq
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x22
	mov	w1, #4
	bl	_skb_copy_to_linear_data_offset
	ldr	w8, [x22, #8]
	sub	w1, w8, #10
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x22
	bl	_skb_copy_to_linear_data_offset
	ldr	x8, [x22]
	str	w27, [x8]
	b	LBB0_4
LBB0_11:
Lloh18:
	adrp	x8, _jiffies@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [x19], #8
	add	x1, x9, x8
	mov	x0, x19
	bl	_mod_timer
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_espibug_timer,4,2              ; @espibug_timer
	.comm	_MAX_NPORTS,4,2                 ; @MAX_NPORTS
	.comm	_PORT_MASK,4,2                  ; @PORT_MASK
	.comm	_ch_mac_addr,4,2                ; @ch_mac_addr
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_sge,8,3                        ; @sge
	.no_dead_strip	_espibug_workaround_t204
.subsections_via_symbols
