	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_get_supported_methods    ## -- Begin function event_get_supported_methods
	.p2align	4, 0x90
_event_get_supported_methods:           ## @event_get_supported_methods
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_eventops@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax,%rdi,8)
	leaq	1(%rdi), %rdi
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	$1, %edi
LBB0_4:
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$8, %esi
	callq	_mm_calloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	movq	%rax, (%rbx,%rcx,8)
	movq	(%r14), %rax
	movq	8(%rax,%rcx,8), %rax
	incq	%rcx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movl	%ecx, %eax
	jmp	LBB0_10
LBB0_6:
	xorl	%eax, %eax
LBB0_10:
	movq	$0, (%rbx,%rax,8)
	movq	_event_get_supported_methods.methods(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_mm_free
LBB0_12:
	movq	%rbx, _event_get_supported_methods.methods(%rip)
LBB0_13:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_event_get_supported_methods.methods,8,3 ## @event_get_supported_methods.methods
	.comm	_eventops,8,3                   ## @eventops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_get_supported_methods    ; -- Begin function event_get_supported_methods
	.p2align	2
_event_get_supported_methods:           ; @event_get_supported_methods
	.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
Lloh0:
	adrp	x20, _eventops@GOTPAGE
Lloh1:
	ldr	x20, [x20, _eventops@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	w0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x0, lsl #3]
	add	x0, x0, #1
	cbnz	x9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #8
	bl	_mm_calloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.6:
	mov	x10, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	add	x9, x10, #1
	lsl	x10, x10, #3
	str	x8, [x19, x10]
	ldr	x8, [x20]
	add	x8, x8, x10
	ldr	x8, [x8, #8]
	mov	x10, x9
	cbnz	x8, LBB0_7
; %bb.8:
	and	x8, x9, #0xffffffff
LBB0_9:
	str	xzr, [x19, x8, lsl #3]
	adrp	x20, _event_get_supported_methods.methods@PAGE
	ldr	x0, [x20, _event_get_supported_methods.methods@PAGEOFF]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_mm_free
LBB0_11:
	str	x19, [x20, _event_get_supported_methods.methods@PAGEOFF]
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_event_get_supported_methods.methods,8,3 ; @event_get_supported_methods.methods
	.comm	_eventops,8,3                   ; @eventops
.subsections_via_symbols
