	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_stop
_do_stop:                               ## @do_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %r14
	leaq	4(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dev_dbg
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_SelectPage
	movq	_XIRCREG_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PutByte
	movl	$1, %edi
	callq	_SelectPage
	movq	_XIRCREG1_IMR0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PutByte
	movl	$4, %edi
	callq	_SelectPage
	movq	_XIRCREG4_GPR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PutByte
	xorl	%edi, %edi
	callq	_SelectPage
	decl	(%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_stop(%p)\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_XIRCREG_CR,4,2                 ## @XIRCREG_CR
	.comm	_XIRCREG1_IMR0,4,2              ## @XIRCREG1_IMR0
	.comm	_XIRCREG4_GPR1,4,2              ## @XIRCREG4_GPR1
	.no_dead_strip	_do_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_stop
_do_stop:                               ; @do_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netdev_priv
	ldr	x20, [x0]
	add	x0, x20, #4
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netif_stop_queue
	mov	w0, #0
	bl	_SelectPage
Lloh2:
	adrp	x8, _XIRCREG_CR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XIRCREG_CR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PutByte
	mov	w0, #1
	bl	_SelectPage
Lloh5:
	adrp	x8, _XIRCREG1_IMR0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XIRCREG1_IMR0@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PutByte
	mov	w0, #4
	bl	_SelectPage
Lloh8:
	adrp	x8, _XIRCREG4_GPR1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XIRCREG4_GPR1@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PutByte
	mov	w0, #0
	bl	_SelectPage
	mov	w0, #0
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_stop(%p)\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_XIRCREG_CR,4,2                 ; @XIRCREG_CR
	.comm	_XIRCREG1_IMR0,4,2              ; @XIRCREG1_IMR0
	.comm	_XIRCREG4_GPR1,4,2              ; @XIRCREG4_GPR1
	.no_dead_strip	_do_stop
.subsections_via_symbols
