	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_ioapic_reset               ## -- Begin function kvm_ioapic_reset
	.p2align	4, 0x90
_kvm_ioapic_reset:                      ## @kvm_ioapic_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IOAPIC_NUM_PINS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	32(%rdi), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	movq	_IOAPIC_DEFAULT_BASE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	popq	%rbp
	jmp	_update_handled_vectors         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IOAPIC_NUM_PINS,4,2            ## @IOAPIC_NUM_PINS
	.comm	_IOAPIC_DEFAULT_BASE_ADDRESS,4,2 ## @IOAPIC_DEFAULT_BASE_ADDRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_ioapic_reset               ; -- Begin function kvm_ioapic_reset
	.p2align	2
_kvm_ioapic_reset:                      ; @kvm_ioapic_reset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IOAPIC_NUM_PINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOAPIC_NUM_PINS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #32]
	mov	w11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _IOAPIC_DEFAULT_BASE_ADDRESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IOAPIC_DEFAULT_BASE_ADDRESS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	stp	xzr, xzr, [x0, #8]
	str	xzr, [x0]
	b	_update_handled_vectors
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IOAPIC_NUM_PINS,4,2            ; @IOAPIC_NUM_PINS
	.comm	_IOAPIC_DEFAULT_BASE_ADDRESS,4,2 ; @IOAPIC_DEFAULT_BASE_ADDRESS
.subsections_via_symbols
