	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_update_tcpseg
_siw_update_tcpseg:                     ## @siw_update_tcpseg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_tcp_sk
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rsi
	movl	4(%rax), %ebx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	_u16@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_min_t
	imull	%eax, %ebx
	jmp	LBB0_5
LBB0_4:
	movl	4(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	imull	%edx, %ebx
LBB0_5:
	andl	$-8, %ebx
	movl	%ebx, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_u16,4,2                        ## @u16
	.no_dead_strip	_siw_update_tcpseg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_update_tcpseg
_siw_update_tcpseg:                     ; @siw_update_tcpseg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	bl	_tcp_sk
	ldr	w2, [x0]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	x1, [x19]
	ldr	w20, [x0, #4]
	cbz	x1, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _u16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _u16@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_min_t
	mul	w8, w0, w20
	b	LBB0_5
LBB0_3:
	ldr	w8, [x0, #4]
	b	LBB0_5
LBB0_4:
	mul	w8, w20, w2
LBB0_5:
	and	w8, w8, #0xfffffff8
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_u16,4,2                        ; @u16
	.no_dead_strip	_siw_update_tcpseg
.subsections_via_symbols
