	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_warm_virt2phys                 ## -- Begin function warm_virt2phys
	.p2align	4, 0x90
_warm_virt2phys:                        ## @warm_virt2phys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	_warm_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WARMC_VIRT2PHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	callq	_ioctl
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	-8(%rbp), %rax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movq	$-1, %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_warm_fd,4,2                    ## @warm_fd
	.comm	_WARMC_VIRT2PHYS,4,2            ## @WARMC_VIRT2PHYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARMC_VIRT2PHYS failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_warm_virt2phys                 ; -- Begin function warm_virt2phys
	.p2align	2
_warm_virt2phys:                        ; @warm_virt2phys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _warm_fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _warm_fd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _WARMC_VIRT2PHYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WARMC_VIRT2PHYS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	x0, #-1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_warm_fd,4,2                    ; @warm_fd
	.comm	_WARMC_VIRT2PHYS,4,2            ; @WARMC_VIRT2PHYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARMC_VIRT2PHYS failed"

.subsections_via_symbols
