	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_event_new_selfarg
_test_event_new_selfarg:                ## @test_event_new_selfarg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	movq	_EV_READ@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movq	_event_selfarg_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_event_self_cbarg
	movq	%r12, %rdi
	movl	$-1, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_event_new
	movq	%rax, %rbx
	movl	(%r13), %esi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_event_active
	movq	%r12, %rdi
	callq	_event_base_dispatch
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_event_free                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_event_selfarg_cb,4,2           ## @event_selfarg_cb
	.no_dead_strip	_test_event_new_selfarg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_event_new_selfarg
_test_event_new_selfarg:                ; @test_event_new_selfarg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x19, [x0]
Lloh0:
	adrp	x22, _EV_READ@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EV_READ@GOTPAGEOFF]
	ldr	w20, [x22]
Lloh2:
	adrp	x8, _event_selfarg_cb@GOTPAGE
Lloh3:
	ldr	x8, [x8, _event_selfarg_cb@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	bl	_event_self_cbarg
	mov	x4, x0
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x20
	mov	x3, x21
	bl	_event_new
	mov	x20, x0
	ldr	w1, [x22]
	mov	w2, #1
	bl	_event_active
	mov	x0, x19
	bl	_event_base_dispatch
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_event_free
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_event_selfarg_cb,4,2           ; @event_selfarg_cb
	.no_dead_strip	_test_event_new_selfarg
.subsections_via_symbols
