	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ub_libevent_event_base         ## -- Begin function ub_libevent_event_base
	.p2align	4, 0x90
_ub_libevent_event_base:                ## @ub_libevent_event_base
	.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
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_UB_EVENT_MAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_default_event_base_vmt@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, 16(%rax)
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UB_EVENT_MAGIC,4,2             ## @UB_EVENT_MAGIC
	.comm	_default_event_base_vmt,4,2     ## @default_event_base_vmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ub_libevent_event_base         ; -- Begin function ub_libevent_event_base
	.p2align	2
_ub_libevent_event_base:                ; @ub_libevent_event_base
	.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, x0
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _UB_EVENT_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UB_EVENT_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh3:
	adrp	x8, _default_event_base_vmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _default_event_base_vmt@GOTPAGEOFF]
	str	x8, [x0]
	str	x19, [x0, #16]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UB_EVENT_MAGIC,4,2             ; @UB_EVENT_MAGIC
	.comm	_default_event_base_vmt,4,2     ; @default_event_base_vmt
.subsections_via_symbols
