	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fini_device_tbl                ## -- Begin function fini_device_tbl
	.p2align	4, 0x90
_fini_device_tbl:                       ## @fini_device_tbl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_devd_fd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_fd_deselect
LBB0_2:
	movq	_devd_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-1, %edi
	je	LBB0_4
## %bb.3:
	callq	_close
LBB0_4:
	xorl	%eax, %eax
	callq	_devinfo_free
	movq	_device_map@GOTPCREL(%rip), %rdi
	callq	_STAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %rbx
	movq	_link@GOTPCREL(%rip), %r12
	movq	_device_map@GOTPCREL(%rip), %r14
	movq	_device_tbl@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rdi
	callq	_free
	movq	(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_STAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_STAILQ_REMOVE_HEAD
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_TAILQ_REMOVE
	movq	16(%rbx), %rdi
	callq	_FREE_DEV_STRUCT
	jmp	LBB0_8
LBB0_9:
	movq	_device_tbl@GOTPCREL(%rip), %rdi
	callq	_TAILQ_EMPTY
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_devd_fd,8,3                    ## @devd_fd
	.comm	_devd_sock,4,2                  ## @devd_sock
	.comm	_device_map,4,2                 ## @device_map
	.comm	_link,4,2                       ## @link
	.comm	_device_tbl,4,2                 ## @device_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fini_device_tbl                ; -- Begin function fini_device_tbl
	.p2align	2
_fini_device_tbl:                       ; @fini_device_tbl
	.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
Lloh0:
	adrp	x8, _devd_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devd_fd@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_fd_deselect
LBB0_2:
Lloh3:
	adrp	x8, _devd_sock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _devd_sock@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	bl	_close
LBB0_4:
	bl	_devinfo_free
Lloh6:
	adrp	x0, _device_map@GOTPAGE
Lloh7:
	ldr	x0, [x0, _device_map@GOTPAGEOFF]
	bl	_STAILQ_FIRST
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
Lloh8:
	adrp	x22, _link@GOTPAGE
Lloh9:
	ldr	x22, [x22, _link@GOTPAGEOFF]
Lloh10:
	adrp	x19, _device_map@GOTPAGE
Lloh11:
	ldr	x19, [x19, _device_map@GOTPAGEOFF]
Lloh12:
	adrp	x20, _device_tbl@GOTPAGE
Lloh13:
	ldr	x20, [x20, _device_tbl@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x21, #8]
	bl	_free
	ldr	x0, [x21]
	bl	_free
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_STAILQ_FIRST
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_STAILQ_REMOVE_HEAD
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x22]
	mov	x0, x20
	bl	_TAILQ_REMOVE
	ldr	x0, [x21, #16]
	bl	_FREE_DEV_STRUCT
	b	LBB0_6
LBB0_9:
Lloh14:
	adrp	x0, _device_tbl@GOTPAGE
Lloh15:
	ldr	x0, [x0, _device_tbl@GOTPAGEOFF]
	bl	_TAILQ_EMPTY
	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	_assert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_devd_fd,8,3                    ; @devd_fd
	.comm	_devd_sock,4,2                  ; @devd_sock
	.comm	_device_map,4,2                 ; @device_map
	.comm	_link,4,2                       ; @link
	.comm	_device_tbl,4,2                 ; @device_tbl
.subsections_via_symbols
