	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_get_async_event          ## -- Begin function __ibv_get_async_event
	.p2align	4, 0x90
___ibv_get_async_event:                 ## @__ibv_get_async_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	leaq	-32(%rbp), %rsi
	movl	$8, %edx
	callq	_read
	movl	$-1, %ebx
	cmpl	$8, %eax
	jne	LBB0_10
## %bb.1:
	movl	-28(%rbp), %eax
	movl	%eax, 40(%r14)
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_7
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movslq	-32(%rbp), %rax
	movq	%rax, 24(%r14)
	jmp	LBB0_8
LBB0_5:
	movslq	-32(%rbp), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_8
LBB0_7:
	movl	-32(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_6:
	movslq	-32(%rbp), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_8
LBB0_3:
	movslq	-32(%rbp), %rax
	movq	%rax, 32(%r14)
LBB0_8:
	movq	(%r15), %rcx
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	*%rcx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibv_get_async_event          ; -- Begin function __ibv_get_async_event
	.p2align	2
___ibv_get_async_event:                 ; @__ibv_get_async_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	mov	w2, #8
	bl	_read
	cmp	w0, #8
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	str	w8, [x19, #40]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldrsw	x8, [sp, #8]
	str	x8, [x19, #24]
	b	LBB0_9
LBB0_4:
	mov	w0, #-1
	b	LBB0_12
LBB0_5:
	ldrsw	x8, [sp, #8]
	str	x8, [x19, #16]
	b	LBB0_9
LBB0_6:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_9
LBB0_7:
	ldrsw	x8, [sp, #8]
	str	x8, [x19, #8]
	b	LBB0_9
LBB0_8:
	ldrsw	x8, [sp, #8]
	str	x8, [x19, #32]
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	blr	x8
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
.subsections_via_symbols
