	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcp_keepalive              ## -- Begin function uip_tcp_keepalive
	.p2align	4, 0x90
_uip_tcp_keepalive:                     ## @uip_tcp_keepalive
	.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	%rdi, %r15
	movq	_UIP_PBUF_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UIP_TCP_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UIP_PBUF_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_uip_pbuf_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	8(%rax), %rbx
	movl	36(%r15), %edi
	callq	_htons
	movq	%rax, 48(%rbx)
	movl	32(%r15), %edi
	callq	_htons
	movq	%rax, 40(%rbx)
	movq	24(%r15), %rdi
	decq	%rdi
	callq	_htonl
	movq	%rax, 32(%rbx)
	movq	16(%r15), %rdi
	callq	_htonl
	movq	%rax, 24(%rbx)
	movl	12(%r15), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_UIP_TCPH_HDRLEN_SET
	movq	$0, (%rbx)
	leaq	8(%r15), %r12
	leaq	4(%r15), %r13
	movq	_UIP_PROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r14), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_uip_chksum_pseudo
	movq	%rax, (%rbx)
	movl	(%r15), %ecx
	movq	_UIP_PROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	callq	_uip_ipoutput
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uip_pbuf_free                  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_PBUF_IP,4,2                ## @UIP_PBUF_IP
	.comm	_UIP_TCP_HLEN,4,2               ## @UIP_TCP_HLEN
	.comm	_UIP_PBUF_RAM,4,2               ## @UIP_PBUF_RAM
	.comm	_UIP_PROTO_TCP,4,2              ## @UIP_PROTO_TCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uip_tcp_keepalive              ; -- Begin function uip_tcp_keepalive
	.p2align	2
_uip_tcp_keepalive:                     ; @uip_tcp_keepalive
	.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	x19, x0
Lloh0:
	adrp	x8, _UIP_PBUF_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UIP_PBUF_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _UIP_TCP_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UIP_TCP_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _UIP_PBUF_RAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UIP_PBUF_RAM@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_uip_pbuf_alloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x19, #36]
	bl	_htons
	str	x0, [x21, #48]
	ldr	w0, [x19, #32]
	bl	_htons
	str	x0, [x21, #40]
	ldr	x8, [x19, #24]
	sub	x0, x8, #1
	bl	_htonl
	str	x0, [x21, #32]
	ldr	x0, [x19, #16]
	bl	_htonl
	str	x0, [x21, #24]
	ldr	w0, [x19, #12]
	bl	_htons
	stp	xzr, x0, [x21, #8]
	mov	x0, x21
	mov	w1, #5
	bl	_UIP_TCPH_HDRLEN_SET
	str	xzr, [x21]
	add	x22, x19, #8
	add	x23, x19, #4
Lloh9:
	adrp	x24, _UIP_PROTO_TCP@GOTPAGE
Lloh10:
	ldr	x24, [x24, _UIP_PROTO_TCP@GOTPAGEOFF]
	ldr	w3, [x24]
	ldr	w4, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_uip_chksum_pseudo
	str	x0, [x21]
	ldr	w3, [x19]
	ldr	w5, [x24]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	w4, #0
	bl	_uip_ipoutput
	mov	x0, x20
	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
	b	_uip_pbuf_free
LBB0_2:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_PBUF_IP,4,2                ; @UIP_PBUF_IP
	.comm	_UIP_TCP_HLEN,4,2               ; @UIP_TCP_HLEN
	.comm	_UIP_PBUF_RAM,4,2               ; @UIP_PBUF_RAM
	.comm	_UIP_PROTO_TCP,4,2              ; @UIP_PROTO_TCP
.subsections_via_symbols
