	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_stop_hw
_niu_stop_hw:                           ## @niu_stop_hw
	.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, %rbx
	movq	_ifdown@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %r8
	callq	_netif_printk
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_niu_enable_interrupts
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_niu_enable_rx_mac
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	callq	_niu_disable_ipp
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.3(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	callq	_niu_stop_tx_channels
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	callq	_niu_stop_rx_channels
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.5(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	callq	_niu_reset_tx_channels
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.6(%rip), %r8
	movq	%rbx, %rdi
	callq	_netif_printk
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_niu_reset_rx_channels          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ifdown,4,2                     ## @ifdown
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disable interrupts\n"

L_.str.1:                               ## @.str.1
	.asciz	"Disable RX MAC\n"

L_.str.2:                               ## @.str.2
	.asciz	"Disable IPP\n"

L_.str.3:                               ## @.str.3
	.asciz	"Stop TX channels\n"

L_.str.4:                               ## @.str.4
	.asciz	"Stop RX channels\n"

L_.str.5:                               ## @.str.5
	.asciz	"Reset TX channels\n"

L_.str.6:                               ## @.str.6
	.asciz	"Reset RX channels\n"

	.no_dead_strip	_niu_stop_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_stop_hw
_niu_stop_hw:                           ; @niu_stop_hw
	.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
Lloh0:
	adrp	x20, _ifdown@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ifdown@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _KERN_DEBUG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _KERN_DEBUG@GOTPAGEOFF]
	ldr	w2, [x21]
	ldr	w3, [x0]
Lloh4:
	adrp	x4, l_.str@PAGE
Lloh5:
	add	x4, x4, l_.str@PAGEOFF
	bl	_netif_printk
	mov	x0, x19
	mov	w1, #0
	bl	_niu_enable_interrupts
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh6:
	adrp	x4, l_.str.1@PAGE
Lloh7:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	mov	x0, x19
	mov	w1, #0
	bl	_niu_enable_rx_mac
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh8:
	adrp	x4, l_.str.2@PAGE
Lloh9:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	mov	x0, x19
	bl	_niu_disable_ipp
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh10:
	adrp	x4, l_.str.3@PAGE
Lloh11:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	mov	x0, x19
	bl	_niu_stop_tx_channels
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh12:
	adrp	x4, l_.str.4@PAGE
Lloh13:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	mov	x0, x19
	bl	_niu_stop_rx_channels
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh14:
	adrp	x4, l_.str.5@PAGE
Lloh15:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	mov	x0, x19
	bl	_niu_reset_tx_channels
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x19]
Lloh16:
	adrp	x4, l_.str.6@PAGE
Lloh17:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_netif_printk
	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	_niu_reset_rx_channels
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ifdown,4,2                     ; @ifdown
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disable interrupts\n"

l_.str.1:                               ; @.str.1
	.asciz	"Disable RX MAC\n"

l_.str.2:                               ; @.str.2
	.asciz	"Disable IPP\n"

l_.str.3:                               ; @.str.3
	.asciz	"Stop TX channels\n"

l_.str.4:                               ; @.str.4
	.asciz	"Stop RX channels\n"

l_.str.5:                               ; @.str.5
	.asciz	"Reset TX channels\n"

l_.str.6:                               ; @.str.6
	.asciz	"Reset RX channels\n"

	.no_dead_strip	_niu_stop_hw
.subsections_via_symbols
