	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_local        ## -- Begin function comm_point_create_local
	.p2align	4, 0x90
_comm_point_create_local:               ## @comm_point_create_local
	.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, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$168, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$168, %esi
	callq	_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%r14, 160(%rax)
	movl	%r15d, (%rbx)
	movq	%r13, %rdi
	callq	_sldns_buffer_new
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	$0, 24(%rbx)
	movl	$1, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%rbx)
	movups	%xmm0, 128(%rbx)
	movups	%xmm0, 144(%rbx)
	movq	_comm_local@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	$0, 96(%rbx)
	movl	$1, 8(%rbx)
	movups	%xmm0, 80(%rbx)
	movq	%r12, 40(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	_UB_EV_PERSIST@GOTPCREL(%rip), %rax
	movq	_UB_EV_READ@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %edx
	orw	(%rax), %dx
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_comm_point_local_handle_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movswl	%dx, %edx
	movq	%rbx, %r8
	callq	_ub_event_new
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%rbx), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	movq	24(%rbx), %rsi
	callq	_ub_event_add
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
	movq	16(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_ub_event_free
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_7:
	movq	16(%rbx), %rdi
	callq	_free
LBB0_8:
	movq	%rbx, %rdi
	callq	_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	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_local,4,2                 ## @comm_local
	.comm	_UB_EV_PERSIST,2,1              ## @UB_EV_PERSIST
	.comm	_UB_EV_READ,2,1                 ## @UB_EV_READ
	.comm	_comm_point_local_handle_callback,4,2 ## @comm_point_local_handle_callback
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not baseset localhdl event"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_local        ; -- Begin function comm_point_create_local
	.p2align	2
_comm_point_create_local:               ; @comm_point_create_local
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #168
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	mov	w0, #1
	mov	w1, #168
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.2:
	str	x20, [x0, #160]
	str	w24, [x19]
	mov	x0, x23
	bl	_sldns_buffer_new
	str	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.3:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #128]
	str	q0, [x19, #112]
Lloh0:
	adrp	x8, _comm_local@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comm_local@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #104]
	stp	xzr, xzr, [x19, #88]
	movi.2s	v0, #1
	stur	d0, [x19, #4]
	str	xzr, [x19, #80]
	stp	x21, x22, [x19, #32]
	str	xzr, [x19, #24]
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]
	ldrh	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x20]
	ldr	w0, [x9]
	ldr	w1, [x19]
Lloh7:
	adrp	x9, _comm_point_local_handle_callback@GOTPAGE
Lloh8:
	ldr	x9, [x9, _comm_point_local_handle_callback@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x9]
	sxth	w2, w8
	mov	x4, x19
	bl	_ub_event_new
	ldr	x8, [x19, #16]
	str	x0, [x8, #16]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x1, [x19, #24]
	bl	_ub_event_add
	cbz	x0, LBB0_9
; %bb.5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #16]
	bl	_ub_event_free
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_7:
	ldr	x0, [x19, #16]
	bl	_free
LBB0_8:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_comm_local,4,2                 ; @comm_local
	.comm	_UB_EV_PERSIST,2,1              ; @UB_EV_PERSIST
	.comm	_UB_EV_READ,2,1                 ; @UB_EV_READ
	.comm	_comm_point_local_handle_callback,4,2 ; @comm_point_local_handle_callback
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not baseset localhdl event"

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

.subsections_via_symbols
