	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwsim_check_magic
_hwsim_check_magic:                     ## @hwsim_check_magic
	.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, %rdx
	movq	16(%rdi), %rax
	movq	(%rax), %rcx
	movq	_HWSIM_VIF_MAGIC@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rcx
	setne	%dil
	movl	8(%rdx), %r8d
	movl	(%rdx), %eax
	movl	4(%rdx), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	callq	_WARN
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWSIM_VIF_MAGIC,8,3            ## @HWSIM_VIF_MAGIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid VIF (%p) magic %#x, %pM, %d/%d\n"

	.no_dead_strip	_hwsim_check_magic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwsim_check_magic
_hwsim_check_magic:                     ; @hwsim_check_magic
	.cfi_startproc
; %bb.0:
	mov	x2, x0
	ldr	x8, [x0, #16]
	ldr	x3, [x8]
Lloh0:
	adrp	x8, _HWSIM_VIF_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWSIM_VIF_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x3, x8
	cset	w0, ne
	ldp	w5, w4, [x2, #4]
	ldr	w6, [x2]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	_WARN
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWSIM_VIF_MAGIC,8,3            ; @HWSIM_VIF_MAGIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid VIF (%p) magic %#x, %pM, %d/%d\n"

	.no_dead_strip	_hwsim_check_magic
.subsections_via_symbols
