	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devname_r                      ## -- Begin function devname_r
	.p2align	4, 0x90
_devname_r:                             ## @devname_r
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rdi, -40(%rbp)
	movq	_NODEV@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_1
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
	jmp	LBB0_7
LBB0_1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_S_ISBLK
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movl	%r15d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movslq	%r14d, %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rsi
	movl	$8, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movl	%r15d, %edi
	callq	_S_ISCHR
	movl	-40(%rbp), %r8d
	cmpq	$1, %rax
	movl	$67, %ecx
	sbbl	$0, %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_snprintf
LBB0_7:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NODEV,8,3                      ## @NODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#NODEV"

L_.str.1:                               ## @.str.1
	.asciz	"kern.devname"

L_.str.2:                               ## @.str.2
	.asciz	"#%c:%#jx"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devname_r                      ; -- Begin function devname_r
	.p2align	2
_devname_r:                             ; @devname_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x19, x2
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _NODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NODEV@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
LBB0_1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_strlcpy
	b	LBB0_7
LBB0_2:
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_S_ISCHR
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_S_ISBLK
	cbz	x0, LBB0_1
LBB0_4:
	mov	x0, x21
	bl	_S_ISCHR
	cbz	x0, LBB0_6
; %bb.5:
	sxtw	x8, w20
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, sp
	add	x3, sp, #8
	mov	x1, x19
	mov	w4, #8
	bl	_sysctlbyname
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_S_ISCHR
	ldr	w4, [sp, #8]
	cmp	x0, #0
	mov	w8, #66
	cinc	w3, w8, ne
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NODEV,8,3                      ; @NODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#NODEV"

l_.str.1:                               ; @.str.1
	.asciz	"kern.devname"

l_.str.2:                               ; @.str.2
	.asciz	"#%c:%#jx"

.subsections_via_symbols
