	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmm_is_pptdev                  ## -- Begin function vmm_is_pptdev
	.p2align	4, 0x90
_vmm_is_pptdev:                         ## @vmm_is_pptdev
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	xorl	%r15d, %r15d
	leaq	l___const.vmm_is_pptdev.names(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%rbx,%r15,8), %rdi
	callq	_kern_getenv
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rax)
	movl	$0, %r12d
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movb	$0, (%r13)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %r8
	callq	_sscanf
	xorl	$3, %eax
	movl	-60(%rbp), %ecx
	xorl	%r14d, %ecx
	orl	%eax, %ecx
	movl	-52(%rbp), %eax
	xorl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	orl	%ecx, %eax
	movl	-56(%rbp), %ecx
	xorl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	xorl	%r12d, %r12d
	orl	%eax, %ecx
	sete	%al
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	testq	%r13, %r13
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rbx
	incq	%rbx
	movb	$32, (%r13)
	cmpb	$0, 1(%r13)
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%al, %r12b
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	l___const.vmm_is_pptdev.names(%rip), %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	callq	_freeenv
	incq	%r15
	cmpq	$3, %r15
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	je	LBB0_1
LBB0_14:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pptdevs"

L_.str.1:                               ## @.str.1
	.asciz	"pptdevs2"

L_.str.2:                               ## @.str.2
	.asciz	"pptdevs3"

	.section	__DATA,__const
	.p2align	4                               ## @__const.vmm_is_pptdev.names
l___const.vmm_is_pptdev.names:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"%d/%d/%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmm_is_pptdev                  ; -- Begin function vmm_is_pptdev
	.p2align	2
_vmm_is_pptdev:                         ; @vmm_is_pptdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kern_getenv
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.1:
	ldrb	w8, [x22]
	cbz	w8, LBB0_8
; %bb.2:
	mov	w26, #32
Lloh2:
	adrp	x24, l_.str.3@PAGE
Lloh3:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x23, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #32
	bl	_strchr
	mov	x25, x0
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #12
	add	x3, sp, #4
	add	x4, sp, #8
	mov	x0, x23
	mov	x1, x24
	bl	_sscanf
	cmp	w0, #3
	ldr	w8, [sp, #12]
	ccmp	w8, w21, #0, eq
	ldr	w8, [sp, #4]
	ccmp	w8, w20, #0, eq
	ldr	w8, [sp, #8]
	ccmp	w8, w19, #0, eq
	cset	w23, eq
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x25, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x25
	ldrb	w8, [x23, #1]!
	strb	w26, [x25]
	cbnz	w8, LBB0_3
LBB0_8:
	mov	w23, #0
LBB0_9:
	mov	x0, x22
	bl	_freeenv
	cbnz	w23, LBB0_30
; %bb.10:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_kern_getenv
	mov	x22, x0
	cbz	x0, LBB0_18
; %bb.11:
	ldrb	w8, [x22]
	cbz	w8, LBB0_18
; %bb.12:
	mov	w26, #32
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x23, x22
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #32
	bl	_strchr
	mov	x25, x0
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	strb	wzr, [x25]
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x2, sp, #12
	add	x3, sp, #4
	add	x4, sp, #8
	mov	x0, x23
	mov	x1, x24
	bl	_sscanf
	cmp	w0, #3
	ldr	w8, [sp, #12]
	ccmp	w8, w21, #0, eq
	ldr	w8, [sp, #4]
	ccmp	w8, w20, #0, eq
	ldr	w8, [sp, #8]
	ccmp	w8, w19, #0, eq
	cset	w23, eq
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	x25, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, x25
	ldrb	w8, [x23, #1]!
	strb	w26, [x25]
	cbnz	w8, LBB0_13
LBB0_18:
	mov	w23, #0
LBB0_19:
	mov	x0, x22
	bl	_freeenv
	cbnz	w23, LBB0_30
; %bb.20:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_kern_getenv
	mov	x22, x0
	cbz	x0, LBB0_28
; %bb.21:
	ldrb	w8, [x22]
	cbz	w8, LBB0_28
; %bb.22:
	mov	w26, #32
Lloh10:
	adrp	x24, l_.str.3@PAGE
Lloh11:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x23, x22
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #32
	bl	_strchr
	mov	x25, x0
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	strb	wzr, [x25]
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x2, sp, #12
	add	x3, sp, #4
	add	x4, sp, #8
	mov	x0, x23
	mov	x1, x24
	bl	_sscanf
	cmp	w0, #3
	ldr	w8, [sp, #12]
	ccmp	w8, w21, #0, eq
	ldr	w8, [sp, #4]
	ccmp	w8, w20, #0, eq
	ldr	w8, [sp, #8]
	ccmp	w8, w19, #0, eq
	cset	w23, eq
	b.eq	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	cbz	x25, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x23, x25
	ldrb	w8, [x23, #1]!
	strb	w26, [x25]
	cbnz	w8, LBB0_23
LBB0_28:
	mov	w23, #0
LBB0_29:
	mov	x0, x22
	bl	_freeenv
LBB0_30:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pptdevs"

l_.str.1:                               ; @.str.1
	.asciz	"pptdevs2"

l_.str.2:                               ; @.str.2
	.asciz	"pptdevs3"

l_.str.3:                               ; @.str.3
	.asciz	"%d/%d/%d"

.subsections_via_symbols
