	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_event_assign_selfarg
_test_event_assign_selfarg:             ## @test_event_assign_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), %rbx
	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
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$-1, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_event_assign
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_event_active
	movq	%rbx, %rdi
	callq	_event_base_dispatch
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_assign_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_assign_selfarg
_test_event_assign_selfarg:             ; @test_event_assign_selfarg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x5, x0
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #-1
	mov	x3, x20
	mov	x4, x21
	bl	_event_assign
	ldr	w1, [x22]
	add	x0, sp, #8
	mov	w2, #1
	bl	_event_active
	mov	x0, x19
	bl	_event_base_dispatch
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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_assign_selfarg
.subsections_via_symbols
