	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_send_service_register_response ## -- Begin function server_send_service_register_response
	.p2align	4, 0x90
_server_send_service_register_response: ## @server_send_service_register_response
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rax
	leaq	(,%rsi,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movl	(%rax,%rbx), %ecx
	xorl	%edi, %edi
	cmpl	4(%rax,%rbx), %ecx
	setl	%dil
	callq	_assert
	movq	_SDP_PDU_ERROR_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	(%r15), %rax
	movl	(%rax,%rbx), %edi
	callq	_htons
	movl	%eax, -80(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -56(%rbp)
	movl	$12, -64(%rbp)
	movq	(%r15), %rax
	movq	16(%rax,%rbx), %rcx
	movq	%rcx, -40(%rbp)
	movl	(%rax,%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_writev
	movq	(%r15), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SDP_PDU_ERROR_RESPONSE,4,2     ## @SDP_PDU_ERROR_RESPONSE
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_send_service_register_response ; -- Begin function server_send_service_register_response
	.p2align	2
_server_send_service_register_response: ; @server_send_service_register_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0]
	add	x9, x1, x1, lsl #1
	lsl	x21, x9, #3
	add	x8, x8, x21
	ldp	w9, w8, [x8]
	cmp	w9, w8
	cset	w0, lt
	bl	_assert
Lloh3:
	adrp	x8, _SDP_PDU_ERROR_RESPONSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDP_PDU_ERROR_RESPONSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldp	x9, x8, [x20]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x9, x21]
	bl	_htons
	str	w0, [sp, #8]
	add	x8, sp, #8
	str	x8, [sp, #32]
	mov	w8, #12
	str	w8, [sp, #24]
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	x9, [x8, #16]
	str	x9, [sp, #48]
	ldr	w8, [x8]
	str	w8, [sp, #40]
	add	x1, sp, #24
	mov	x0, x19
	mov	w2, #2
	bl	_writev
	ldr	x8, [x20]
	add	x8, x8, x21
	stp	xzr, xzr, [x8]
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDP_PDU_ERROR_RESPONSE,4,2     ; @SDP_PDU_ERROR_RESPONSE
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
.subsections_via_symbols
