	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getdev                         ## -- Begin function getdev
	.p2align	4, 0x90
_getdev:                                ## @getdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NODEV@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_2:
	cmpq	%rdi, _getdev.lastdev(%rip)
	jne	LBB0_4
## %bb.3:
	movq	_getdev.lastname(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, _getdev.lastdev(%rip)
	movq	_S_IFCHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_devname
	movq	%rax, _getdev.lastname(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	3                               ## @getdev.lastdev
_getdev.lastdev:
	.quad	-1                              ## 0xffffffffffffffff

.zerofill __DATA,__bss,_getdev.lastname,8,3 ## @getdev.lastname
	.comm	_NODEV,8,3                      ## @NODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__"

	.comm	_S_IFCHR,4,2                    ## @S_IFCHR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getdev                         ; -- Begin function getdev
	.p2align	2
_getdev:                                ; @getdev
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _NODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NODEV@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	adrp	x8, _getdev.lastdev@PAGE
	ldr	x9, [x8, _getdev.lastdev@PAGEOFF]
	cmp	x9, x0
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _getdev.lastname@PAGE
Lloh6:
	ldr	x0, [x8, _getdev.lastname@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	str	x0, [x8, _getdev.lastdev@PAGEOFF]
Lloh7:
	adrp	x8, _S_IFCHR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_IFCHR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_devname
	adrp	x8, _getdev.lastname@PAGE
	str	x0, [x8, _getdev.lastname@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @getdev.lastdev
_getdev.lastdev:
	.quad	-1                              ; 0xffffffffffffffff

.zerofill __DATA,__bss,_getdev.lastname,8,3 ; @getdev.lastname
	.comm	_NODEV,8,3                      ; @NODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__"

	.comm	_S_IFCHR,4,2                    ; @S_IFCHR
.subsections_via_symbols
