	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_tcp_out      ## -- Begin function comm_point_create_tcp_out
	.p2align	4, 0x90
_comm_point_create_tcp_out:             ## @comm_point_create_tcp_out
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$200, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$200, %esi
	callq	_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%r14, 192(%rax)
	movl	$-1, (%rbx)
	movq	%r13, %rdi
	callq	_sldns_buffer_new
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 168(%rbx)
	movq	$0, 184(%rbx)
	movq	_TCP_QUERY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 160(%rbx)
	movups	%xmm0, 96(%rbx)
	movups	%xmm0, 112(%rbx)
	movups	%xmm0, 128(%rbx)
	movups	%xmm0, 144(%rbx)
	movq	_comm_tcp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movups	%xmm0, 72(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%rbx)
	movq	%rbx, 48(%rbx)
	movq	%r12, 40(%rbx)
	movq	%r15, 32(%rbx)
	movq	_UB_EV_PERSIST@GOTPCREL(%rip), %rax
	movq	_UB_EV_WRITE@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %edx
	orw	(%rax), %dx
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_comm_point_tcp_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
	cmpq	$0, 16(%rax)
	jne	LBB0_8
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	movq	24(%rbx), %rdi
	callq	_sldns_buffer_free
LBB0_5:
	movq	16(%rbx), %rdi
	callq	_free
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_QUERY_TIMEOUT,4,2          ## @TCP_QUERY_TIMEOUT
	.comm	_comm_tcp,4,2                   ## @comm_tcp
	.comm	_UB_EV_PERSIST,2,1              ## @UB_EV_PERSIST
	.comm	_UB_EV_WRITE,2,1                ## @UB_EV_WRITE
	.comm	_comm_point_tcp_handle_callback,4,2 ## @comm_point_tcp_handle_callback
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not baseset tcpout event"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_comm_point_create_tcp_out      ; -- Begin function comm_point_create_tcp_out
	.p2align	2
_comm_point_create_tcp_out:             ; @comm_point_create_tcp_out
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #200
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	mov	w0, #1
	mov	w1, #200
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.2:
	str	x20, [x0, #192]
	mov	w8, #-1
	str	w8, [x19]
	mov	x0, x23
	bl	_sldns_buffer_new
	str	x0, [x19, #24]
	cbz	x0, LBB0_5
; %bb.3:
	stp	xzr, xzr, [x19, #168]
	str	xzr, [x19, #184]
Lloh0:
	adrp	x8, _TCP_QUERY_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_QUERY_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #160]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #128]
Lloh3:
	adrp	x8, _comm_tcp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _comm_tcp@GOTPAGEOFF]
	stp	q0, q0, [x19, #96]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	stp	xzr, xzr, [x19, #72]
	movi.2s	v0, #1
	stur	d0, [x19, #4]
	stp	x22, x19, [x19, #40]
	str	x21, [x19, #32]
Lloh6:
	adrp	x8, _UB_EV_PERSIST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UB_EV_PERSIST@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh8:
	adrp	x9, _UB_EV_WRITE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UB_EV_WRITE@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x20]
	ldr	w0, [x9]
	ldr	w1, [x19]
Lloh10:
	adrp	x9, _comm_point_tcp_handle_callback@GOTPAGE
Lloh11:
	ldr	x9, [x9, _comm_point_tcp_handle_callback@GOTPAGEOFF]
	sxth	w2, w8
Lloh12:
	ldr	w3, [x9]
	mov	x4, x19
	bl	_ub_event_new
	ldr	x8, [x19, #16]
	str	x0, [x8, #16]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_7
; %bb.4:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	ldr	x0, [x19, #24]
	bl	_sldns_buffer_free
LBB0_5:
	ldr	x0, [x19, #16]
	bl	_free
LBB0_6:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_7:
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_QUERY_TIMEOUT,4,2          ; @TCP_QUERY_TIMEOUT
	.comm	_comm_tcp,4,2                   ; @comm_tcp
	.comm	_UB_EV_PERSIST,2,1              ; @UB_EV_PERSIST
	.comm	_UB_EV_WRITE,2,1                ; @UB_EV_WRITE
	.comm	_comm_point_tcp_handle_callback,4,2 ; @comm_point_tcp_handle_callback
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not baseset tcpout event"

.subsections_via_symbols
