	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devid_to_path
_devid_to_path:                         ## @devid_to_path
	.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	$0, -24(%rbp)
	leaq	-12(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_devid_str_decode
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	-12(%rbp), %esi
	movq	-32(%rbp), %rdx
	leaq	L_.str(%rip), %rdi
	leaq	-24(%rbp), %rcx
	callq	_devid_deviceid_to_nmlist
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_devid_str_free
	movl	-12(%rbp), %edi
	callq	_devid_free
	testl	%ebx, %ebx
	je	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	-24(%rbp), %rax
	movl	(%rax), %edi
	callq	_strdup
	movq	%rax, %rbx
	movq	-24(%rbp), %rdi
	callq	_devid_free_nmlist
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev"

	.no_dead_strip	_devid_to_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devid_to_path
_devid_to_path:                         ; @devid_to_path
	.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
	str	xzr, [sp, #8]
	sub	x1, x29, #20
	add	x2, sp, #16
	bl	_devid_str_decode
	mov	x19, #0
	cbnz	x0, LBB0_4
; %bb.1:
	ldur	w1, [x29, #-20]
	ldr	x2, [sp, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x3, sp, #8
	bl	_devid_deviceid_to_nmlist
	mov	x19, x0
	ldr	x0, [sp, #16]
	bl	_devid_str_free
	ldur	w0, [x29, #-20]
	bl	_devid_free
	cbz	w19, LBB0_3
; %bb.2:
	mov	x19, #0
	b	LBB0_4
LBB0_3:
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_strdup
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_devid_free_nmlist
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev"

	.no_dead_strip	_devid_to_path
.subsections_via_symbols
