	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_percpu_callback
_set_percpu_callback:                   ## @set_percpu_callback
	.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
	movl	%edi, -8(%rbp)
	movq	_IDT_EVTCHN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	_HVMOP_set_evtchn_upcall_vector@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rsi
	callq	_HYPERVISOR_hvm_op
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	callq	_xen_translate_error
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDT_EVTCHN,4,2                 ## @IDT_EVTCHN
	.comm	_HVMOP_set_evtchn_upcall_vector,4,2 ## @HVMOP_set_evtchn_upcall_vector
	.no_dead_strip	_set_percpu_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_percpu_callback
_set_percpu_callback:                   ; @set_percpu_callback
	.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
Lloh0:
	adrp	x8, _IDT_EVTCHN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDT_EVTCHN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
Lloh3:
	adrp	x8, _HVMOP_set_evtchn_upcall_vector@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HVMOP_set_evtchn_upcall_vector@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_HYPERVISOR_hvm_op
	cbz	w0, LBB0_2
; %bb.1:
	bl	_xen_translate_error
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDT_EVTCHN,4,2                 ; @IDT_EVTCHN
	.comm	_HVMOP_set_evtchn_upcall_vector,4,2 ; @HVMOP_set_evtchn_upcall_vector
	.no_dead_strip	_set_percpu_callback
.subsections_via_symbols
