	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_OPT_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_8
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-102(%rax), %ecx
	cmpl	$16, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_OPT_FORCE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_OPT_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_OPT_VERBOSE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_1
LBB0_8:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	%ebx, %r12d
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_usage
LBB0_10:
	movq	(%r14,%r12,8), %r15
	testq	%r15, %r15
	je	LBB0_27
## %bb.11:
	leaq	(%r14,%r12,8), %r14
	addq	$8, %r14
	movq	_LINKER_UNLOAD_FORCE@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kldunloadf
	testq	%rax, %rax
	js	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r14), %r15
	addq	$8, %r14
	testq	%r15, %r15
	je	LBB0_27
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_OPT_ID@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_err
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	callq	_kldfind
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	callq	_errx
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_OPT_VERBOSE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$16, -56(%rbp)
	movl	%r12d, %edi
	leaq	-56(%rbp), %rsi
	callq	_kldstat
	testq	%rax, %rax
	jns	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, %edx
	callq	_printf
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_OPT_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rax
	andl	%r13d, %ecx
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_LINKER_UNLOAD_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_27:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_1
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_OPT_NULL,4,2                   ## @OPT_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finv"

	.comm	_OPT_FORCE,4,2                  ## @OPT_FORCE
	.comm	_OPT_ID,4,2                     ## @OPT_ID
	.comm	_OPT_VERBOSE,4,2                ## @OPT_VERBOSE
	.comm	_optind,8,3                     ## @optind
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Invalid ID %s"

	.comm	_optarg,8,3                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	"can't find file %s"

L_.str.3:                               ## @.str.3
	.asciz	"can't stat file"

L_.str.4:                               ## @.str.4
	.asciz	"Unloading %s, id=%d\n"

	.comm	_LINKER_UNLOAD_FORCE,4,2        ## @LINKER_UNLOAD_FORCE
	.comm	_LINKER_UNLOAD_NORMAL,4,2       ## @LINKER_UNLOAD_NORMAL
L_.str.5:                               ## @.str.5
	.asciz	"can't unload file"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _OPT_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPT_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x22, lJTI0_0@PAGE
Lloh6:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh7:
	adrp	x27, _OPT_FORCE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _OPT_FORCE@GOTPAGEOFF]
Lloh9:
	adrp	x28, _OPT_ID@GOTPAGE
Lloh10:
	ldr	x28, [x28, _OPT_ID@GOTPAGEOFF]
Lloh11:
	adrp	x23, _OPT_VERBOSE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _OPT_VERBOSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #102
	cmp	w8, #16
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x27
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x28
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x23
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	orr	w26, w8, w26
	b	LBB0_3
LBB0_9:
Lloh13:
	adrp	x8, _optind@GOTPAGE
Lloh14:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh15:
	ldr	x21, [x8]
	cmp	w21, w20
	b.ne	LBB0_11
; %bb.10:
	bl	_usage
LBB0_11:
	ldr	x25, [x19, x21, lsl #3]
	cbz	x25, LBB0_26
; %bb.12:
	add	x8, x19, x21, lsl #3
Lloh16:
	adrp	x21, _EXIT_FAILURE@GOTPAGE
Lloh17:
	ldr	x21, [x21, _EXIT_FAILURE@GOTPAGEOFF]
Lloh18:
	adrp	x19, _LINKER_UNLOAD_NORMAL@GOTPAGE
Lloh19:
	ldr	x19, [x19, _LINKER_UNLOAD_NORMAL@GOTPAGEOFF]
Lloh20:
	adrp	x20, _LINKER_UNLOAD_FORCE@GOTPAGE
Lloh21:
	ldr	x20, [x20, _LINKER_UNLOAD_FORCE@GOTPAGEOFF]
	add	x22, x8, #8
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x25, [x22], #8
	cbz	x25, LBB0_26
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28]
	tst	w8, w26
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x25
	bl	_atoi
	mov	x24, x0
	tbz	w0, #31, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21]
Lloh22:
	adrp	x8, _optarg@GOTPAGE
Lloh23:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh24:
	ldr	x2, [x8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x25
	bl	_kldfind
	mov	x24, x0
	tbz	w0, #31, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x25
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_errx
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x23]
	tst	w8, w26
	b.eq	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w8, #16
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x24
	bl	_kldstat
	tbz	x0, #63, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x1, [sp, #8]
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x24
	bl	_printf
LBB0_24:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x27]
	tst	w8, w26
	csel	x8, x19, x20, eq
	ldr	w1, [x8]
	mov	x0, x24
	bl	_kldunloadf
	tbz	x0, #63, LBB0_13
; %bb.25:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
	b	LBB0_13
LBB0_26:
Lloh35:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_OPT_NULL,4,2                   ; @OPT_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finv"

	.comm	_OPT_FORCE,4,2                  ; @OPT_FORCE
	.comm	_OPT_ID,4,2                     ; @OPT_ID
	.comm	_OPT_VERBOSE,4,2                ; @OPT_VERBOSE
	.comm	_optind,8,3                     ; @optind
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Invalid ID %s"

	.comm	_optarg,8,3                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	"can't find file %s"

l_.str.3:                               ; @.str.3
	.asciz	"can't stat file"

l_.str.4:                               ; @.str.4
	.asciz	"Unloading %s, id=%d\n"

	.comm	_LINKER_UNLOAD_FORCE,4,2        ; @LINKER_UNLOAD_FORCE
	.comm	_LINKER_UNLOAD_NORMAL,4,2       ; @LINKER_UNLOAD_NORMAL
l_.str.5:                               ; @.str.5
	.asciz	"can't unload file"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
