	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdevname_r                     ## -- Begin function fdevname_r
	.p2align	4, 0x90
_fdevname_r:                            ## @fdevname_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rsi, -24(%rbp)
	movl	%edx, -16(%rbp)
	movq	_FIODGNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	__ioctl
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	cmovneq	%rbx, %rcx
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIODGNAME,4,2                  ## @FIODGNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdevname_r                     ; -- Begin function fdevname_r
	.p2align	2
_fdevname_r:                            ; @fdevname_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	str	x1, [sp]
	str	w2, [sp, #8]
Lloh0:
	adrp	x8, _FIODGNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIODGNAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	__ioctl
	cmn	w0, #1
	csel	x0, xzr, x19, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIODGNAME,4,2                  ; @FIODGNAME
.subsections_via_symbols
