	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function el3_down
_el3_down:                              ## @el3_down
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	(%rdi), %rbx
	callq	_netif_stop_queue
	movq	_StatsDisable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_RxDisable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_TxDisable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$3, %eax
	jne	LBB0_5
## %bb.2:
	movq	_StopCoax@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_4
LBB0_3:
	movl	$4, %edi
	callq	_EL3WINDOW
	movq	_WN4_MEDIA@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_inw
	movq	_MEDIA_TP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
LBB0_4:
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
LBB0_5:
	movq	_SetIntrEnb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rsi
	callq	_outw
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_stats                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_StatsDisable,4,2               ## @StatsDisable
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_RxDisable,4,2                  ## @RxDisable
	.comm	_TxDisable,4,2                  ## @TxDisable
	.comm	_StopCoax,4,2                   ## @StopCoax
	.comm	_WN4_MEDIA,8,3                  ## @WN4_MEDIA
	.comm	_MEDIA_TP,4,2                   ## @MEDIA_TP
	.comm	_SetIntrEnb,4,2                 ## @SetIntrEnb
	.no_dead_strip	_el3_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function el3_down
_el3_down:                              ; @el3_down
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldrsw	x20, [x0]
	bl	_netif_stop_queue
Lloh0:
	adrp	x8, _StatsDisable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _StatsDisable@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x21, _EL3_CMD@GOTPAGE
Lloh4:
	ldr	x21, [x21, _EL3_CMD@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, x20
	bl	_outw
Lloh5:
	adrp	x8, _RxDisable@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RxDisable@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x21]
	add	x1, x8, x20
	bl	_outw
Lloh8:
	adrp	x8, _TxDisable@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TxDisable@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x21]
	add	x1, x8, x20
	bl	_outw
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_3
; %bb.1:
	cmp	w8, #3
	b.ne	LBB0_5
; %bb.2:
Lloh11:
	adrp	x8, _StopCoax@GOTPAGE
Lloh12:
	ldr	x8, [x8, _StopCoax@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x22, _EL3_CMD@GOTPAGE
Lloh15:
	ldr	x22, [x22, _EL3_CMD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	w0, #4
	bl	_EL3WINDOW
Lloh16:
	adrp	x22, _WN4_MEDIA@GOTPAGE
Lloh17:
	ldr	x22, [x22, _WN4_MEDIA@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, x20
	bl	_inw
Lloh18:
	adrp	x8, _MEDIA_TP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MEDIA_TP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_4:
	ldr	x8, [x22]
	add	x1, x8, x20
	bl	_outw
LBB0_5:
Lloh21:
	adrp	x8, _SetIntrEnb@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SetIntrEnb@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x8, [x21]
	add	x1, x8, x20
	bl	_outw
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_update_stats
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_StatsDisable,4,2               ; @StatsDisable
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_RxDisable,4,2                  ; @RxDisable
	.comm	_TxDisable,4,2                  ; @TxDisable
	.comm	_StopCoax,4,2                   ; @StopCoax
	.comm	_WN4_MEDIA,8,3                  ; @WN4_MEDIA
	.comm	_MEDIA_TP,4,2                   ; @MEDIA_TP
	.comm	_SetIntrEnb,4,2                 ; @SetIntrEnb
	.no_dead_strip	_el3_down
.subsections_via_symbols
