	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function identify
_identify:                              ## @identify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movl	%esi, %edi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_arg_parse
	movq	_opt@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-12(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_open_dev
	movl	-12(%rbp), %edi
	leaq	-32(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	callq	_get_nsid
	cmpq	$0, -24(%rbp)
	je	LBB0_2
## %bb.1:
	movl	-12(%rbp), %edi
	callq	_close
	movq	-32(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_open_dev
LBB0_2:
	movq	-32(%rbp), %rdi
	callq	_free
	movq	8(%rbx), %rsi
	movq	_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_3
## %bb.4:
	movq	-24(%rbp), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	%rsi, -24(%rbp)
LBB0_5:
	movl	-12(%rbp), %edi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.7:
	callq	_identify_ns
	jmp	LBB0_8
LBB0_6:
	callq	_identify_ctrlr
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opt,16,3                       ## @opt
	.comm	_NONE,8,3                       ## @NONE
	.no_dead_strip	_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function identify
_identify:                              ; @identify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x8
	bl	_arg_parse
Lloh0:
	adrp	x19, _opt@GOTPAGE
Lloh1:
	ldr	x19, [x19, _opt@GOTPAGEOFF]
	ldr	x0, [x19]
	add	x1, sp, #20
	mov	w2, #1
	mov	w3, #1
	bl	_open_dev
	ldr	w0, [sp, #20]
	add	x1, sp, #24
	add	x2, sp, #8
	bl	_get_nsid
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [sp, #20]
	bl	_close
	ldr	x0, [sp, #24]
	add	x1, sp, #20
	mov	w2, #1
	mov	w3, #1
	bl	_open_dev
LBB0_2:
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x1, [x19, #8]
Lloh2:
	adrp	x8, _NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NONE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x1, [sp, #8]
	ldr	w0, [sp, #20]
	cbz	x1, LBB0_6
LBB0_4:
	bl	_identify_ns
	b	LBB0_7
LBB0_5:
	str	x1, [sp, #8]
	ldr	w0, [sp, #20]
	cbnz	x1, LBB0_4
LBB0_6:
	bl	_identify_ctrlr
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_opt,16,3                       ; @opt
	.comm	_NONE,8,3                       ; @NONE
	.no_dead_strip	_identify
.subsections_via_symbols
