	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function espibug_workaround
_espibug_workaround:                    ## @espibug_workaround
	.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	_espibug_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	24(%rax), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	movl	$2352, %esi                     ## imm = 0x930
	xorl	%edx, %edx
	callq	_t1_espi_get_mon
	andl	$268374015, %eax                ## imm = 0xFFF0FFF
	cmpl	$4095, %eax                     ## imm = 0xFFF
	jne	LBB0_6
## %bb.2:
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_ch_mac_addr@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_skb_copy_to_linear_data_offset
	movl	8(%r15), %esi
	addl	$-10, %esi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movq	%r15, %rdi
	callq	_skb_copy_to_linear_data_offset
	movq	(%r15), %rax
	movl	$255, (%rax)
LBB0_5:
	movq	%r15, %rdi
	callq	_skb_get
	movq	(%r14), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_t1_sge_tx
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_espibug_timer,4,2              ## @espibug_timer
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function espibug_workaround
_espibug_workaround:                    ; @espibug_workaround
	.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, _espibug_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _espibug_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x21, [x8]
	mov	x0, x20
	mov	w1, #2352
	mov	w2, #0
	bl	_t1_espi_get_mon
	and	w8, w0, #0xfff0fff
	cmp	w8, #4095
	ccmp	x21, #0, #4, eq
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x22, _ch_mac_addr@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ch_mac_addr@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x21
	mov	w1, #4
	bl	_skb_copy_to_linear_data_offset
	ldr	w8, [x21, #8]
	sub	w1, w8, #10
	ldr	w2, [x22]
	ldr	w3, [x23]
	mov	x0, x21
	bl	_skb_copy_to_linear_data_offset
	ldr	x8, [x21]
	mov	w9, #255
	str	w9, [x8]
LBB0_4:
	mov	x0, x21
	bl	_skb_get
	ldr	x8, [x20]
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_t1_sge_tx
LBB0_5:
Lloh7:
	adrp	x8, _jiffies@GOTPAGE
Lloh8:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x19], #8
	add	x1, x9, x8
	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	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_espibug_timer,4,2              ; @espibug_timer
	.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
.subsections_via_symbols
