	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_raw          ## -- Begin function comm_point_create_raw
	.p2align	4, 0x90
_comm_point_create_raw:                 ## @comm_point_create_raw
	.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	%r8, %r13
	movq	%rcx, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	$1, %edi
	movl	$168, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$168, %esi
	callq	_calloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%r15, 160(%rax)
	movl	%r14d, (%rbx)
	movq	$0, 40(%rbx)
	movq	$0, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%rbx)
	movups	%xmm0, 120(%rbx)
	movups	%xmm0, 136(%rbx)
	movq	$0, 152(%rbx)
	movq	_comm_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	$0, 88(%rbx)
	movl	$1, 4(%rbx)
	movups	%xmm0, 72(%rbx)
	movq	%r12, 32(%rbx)
	movq	%r13, 24(%rbx)
	movq	_UB_EV_PERSIST@GOTPCREL(%rip), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.4:
	movq	_UB_EV_READ@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_UB_EV_WRITE@GOTPCREL(%rip), %rcx
LBB0_5:
	movzwl	(%rcx), %edx
	orw	(%rax), %dx
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_comm_point_raw_handle_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movswl	%dx, %edx
	movl	%r14d, %esi
	movq	%rbx, %r8
	callq	_ub_event_new
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movq	16(%rbx), %rsi
	callq	_ub_event_add
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_ub_event_free
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_9:
	movq	8(%rbx), %rdi
	callq	_free
LBB0_10:
	movq	%rbx, %rdi
	callq	_free
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_comm_raw,4,2                   ## @comm_raw
	.comm	_UB_EV_PERSIST,2,1              ## @UB_EV_PERSIST
	.comm	_UB_EV_WRITE,2,1                ## @UB_EV_WRITE
	.comm	_UB_EV_READ,2,1                 ## @UB_EV_READ
	.comm	_comm_point_raw_handle_callback,4,2 ## @comm_point_raw_handle_callback
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not baseset rawhdl event"

L_.str.1:                               ## @.str.1
	.asciz	"could not add rawhdl event"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_raw          ; -- Begin function comm_point_create_raw
	.p2align	2
_comm_point_create_raw:                 ; @comm_point_create_raw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #1
	mov	w1, #168
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	mov	w25, #1
	mov	w0, #1
	mov	w1, #168
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.2:
	str	x21, [x0, #160]
	str	xzr, [x19, #152]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #136]
	stur	q0, [x19, #120]
	stur	q0, [x19, #104]
Lloh0:
	adrp	x8, _comm_raw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comm_raw@GOTPAGEOFF]
	stp	w20, w25, [x19]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #96]
	stp	xzr, xzr, [x19, #80]
	str	xzr, [x19, #72]
	stp	x24, xzr, [x19, #32]
	stp	xzr, x23, [x19, #16]
Lloh3:
	adrp	x8, _UB_EV_PERSIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UB_EV_PERSIST@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh5:
	adrp	x9, _UB_EV_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UB_EV_READ@GOTPAGEOFF]
Lloh7:
	adrp	x10, _UB_EV_WRITE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _UB_EV_WRITE@GOTPAGEOFF]
	cmp	w22, #0
	csel	x9, x9, x10, eq
	ldrh	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x21]
	ldr	w0, [x9]
Lloh9:
	adrp	x9, _comm_point_raw_handle_callback@GOTPAGE
Lloh10:
	ldr	x9, [x9, _comm_point_raw_handle_callback@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x9]
	sxth	w2, w8
	mov	x1, x20
	mov	x4, x19
	bl	_ub_event_new
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x1, [x19, #16]
	bl	_ub_event_add
	cbz	x0, LBB0_8
; %bb.4:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_ub_event_free
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_free
LBB0_7:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_comm_raw,4,2                   ; @comm_raw
	.comm	_UB_EV_PERSIST,2,1              ; @UB_EV_PERSIST
	.comm	_UB_EV_WRITE,2,1                ; @UB_EV_WRITE
	.comm	_UB_EV_READ,2,1                 ; @UB_EV_READ
	.comm	_comm_point_raw_handle_callback,4,2 ; @comm_point_raw_handle_callback
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not baseset rawhdl event"

l_.str.1:                               ; @.str.1
	.asciz	"could not add rawhdl event"

.subsections_via_symbols
