	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ray_detach
_ray_detach:                            ## @ray_detach
	.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
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_this_device@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_ray_release
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	callq	_del_timer_sync
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_unregister_netdev
	movq	%r14, %rdi
	callq	_free_netdev
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ray_detach\n"

	.comm	_this_device,8,3                ## @this_device
L_.str.1:                               ## @.str.1
	.asciz	"ray_cs ray_detach ending\n"

	.no_dead_strip	_ray_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ray_detach
_ray_detach:                            ; @ray_detach
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _this_device@GOTPAGE
Lloh3:
	ldr	x8, [x8, _this_device@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_ray_release
	mov	x0, x20
	bl	_netdev_priv
	bl	_del_timer_sync
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_unregister_netdev
	mov	x0, x20
	bl	_free_netdev
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ray_detach\n"

	.comm	_this_device,8,3                ; @this_device
l_.str.1:                               ; @.str.1
	.asciz	"ray_cs ray_detach ending\n"

	.no_dead_strip	_ray_detach
.subsections_via_symbols
