	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __i2400m_dev_stop
___i2400m_dev_stop:                     ## @__i2400m_dev_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	28(%rdi), %r15
	callq	_i2400m_dev
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rax, %rsi
	movq	%rbx, %rcx
	callq	_d_fnstart
	movq	___WIMAX_ST_QUIESCING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wimax_state_change
	movq	_EL3RST@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_i2400m_msg_to_dev_cancel_wait
	leaq	24(%rbx), %rdi
	callq	_complete
	movq	%rbx, %rdi
	callq	_i2400m_net_wake_stop
	movq	%rbx, %rdi
	callq	_i2400m_dev_shutdown
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movl	(%rbx), %edi
	callq	_flush_workqueue
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	movl	(%rbx), %edi
	callq	_destroy_workqueue
	movq	%rbx, %rdi
	callq	_i2400m_rx_release
	movq	%rbx, %rdi
	callq	_i2400m_tx_release
	movq	_WIMAX_ST_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wimax_state_change
	leaq	L_.str.1(%rip), %rdx
	movl	$3, %edi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_d_fnend                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400m %p)\n"

	.comm	___WIMAX_ST_QUIESCING,4,2       ## @__WIMAX_ST_QUIESCING
	.comm	_EL3RST,4,2                     ## @EL3RST
	.comm	_WIMAX_ST_DOWN,4,2              ## @WIMAX_ST_DOWN
L_.str.1:                               ## @.str.1
	.asciz	"(i2400m %p) = 0\n"

	.no_dead_strip	___i2400m_dev_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __i2400m_dev_stop
___i2400m_dev_stop:                     ; @__i2400m_dev_stop
	.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
	add	x21, x0, #28
	bl	_i2400m_dev
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x20
	mov	x3, x19
	bl	_d_fnstart
Lloh2:
	adrp	x8, ___WIMAX_ST_QUIESCING@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___WIMAX_ST_QUIESCING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wimax_state_change
Lloh5:
	adrp	x8, _EL3RST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EL3RST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_i2400m_msg_to_dev_cancel_wait
	add	x0, x19, #24
	bl	_complete
	mov	x0, x19
	bl	_i2400m_net_wake_stop
	mov	x0, x19
	bl	_i2400m_dev_shutdown
	str	xzr, [x19, #16]
	bl	_wmb
	ldr	w0, [x19]
	bl	_flush_workqueue
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	ldr	w0, [x19]
	bl	_destroy_workqueue
	mov	x0, x19
	bl	_i2400m_rx_release
	mov	x0, x19
	bl	_i2400m_tx_release
Lloh8:
	adrp	x8, _WIMAX_ST_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WIMAX_ST_DOWN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wimax_state_change
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #3
	mov	x1, x20
	mov	x3, 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	_d_fnend
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p)\n"

	.comm	___WIMAX_ST_QUIESCING,4,2       ; @__WIMAX_ST_QUIESCING
	.comm	_EL3RST,4,2                     ; @EL3RST
	.comm	_WIMAX_ST_DOWN,4,2              ; @WIMAX_ST_DOWN
l_.str.1:                               ; @.str.1
	.asciz	"(i2400m %p) = 0\n"

	.no_dead_strip	___i2400m_dev_stop
.subsections_via_symbols
