	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenpv_identify
_xenpv_identify:                        ## @xenpv_identify
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	xorl	%eax, %eax
	callq	_xen_domain
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_xenpv_devclass@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_devclass_get_device
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	callq	_BUS_ADD_CHILD
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_panic                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xenpv_devclass,4,2             ## @xenpv_devclass
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xenpv"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to attach xenpv bus."

	.no_dead_strip	_xenpv_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenpv_identify
_xenpv_identify:                        ; @xenpv_identify
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_xen_domain
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _xenpv_devclass@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xenpv_devclass@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_devclass_get_device
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_BUS_ADD_CHILD
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_panic
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_xenpv_devclass,4,2             ; @xenpv_devclass
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xenpv"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to attach xenpv bus."

	.no_dead_strip	_xenpv_identify
.subsections_via_symbols
