	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_set_state_target
_bbr_set_state_target:                  ## @bbr_set_state_target
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_BBR_STATE_PROBE_RTT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	cmpq	$0, 40(%r15)
	je	LBB0_4
LBB0_3:
	movq	48(%r15), %rax
	movl	(%rax), %ebx
	subl	8(%r15), %ebx
	movq	_bbr_rtt_probe_cwndtarg@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movl	$1, %ecx
	jmp	LBB0_13
LBB0_4:
	movq	_BBR_STATE_PROBE_BW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	24(%r15), %rsi
	movq	_BBR_UNIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jle	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_bbr_get_a_state_target
	movl	%eax, %ebx
	movl	$2, %ecx
	jmp	LBB0_13
LBB0_7:
	movq	_bbr_target_is_bbunit@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:
	cmpq	$0, 40(%r15)
	je	LBB0_10
LBB0_9:
	movq	_BBR_UNIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_bbr_get_a_state_target
	movl	%eax, %ebx
	movl	$3, %ecx
LBB0_13:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_bbr_log_set_of_state_target
	movl	%ebx, 32(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	24(%r15), %rsi
	movq	_bbr_hptsi_gain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BBR_SUB_DRAIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%r15, %rdi
	cmpq	%rax, %rsi
	jge	LBB0_12
## %bb.11:
	movq	%rax, %rsi
	callq	_bbr_get_a_state_target
	movl	%eax, %ebx
	movl	$4, %ecx
	jmp	LBB0_13
LBB0_12:
	callq	_bbr_get_a_state_target
	movl	%eax, %ebx
	movl	$5, %ecx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_BBR_STATE_PROBE_RTT,8,3        ## @BBR_STATE_PROBE_RTT
	.comm	_bbr_rtt_probe_cwndtarg,4,2     ## @bbr_rtt_probe_cwndtarg
	.comm	_BBR_STATE_PROBE_BW,8,3         ## @BBR_STATE_PROBE_BW
	.comm	_BBR_UNIT,8,3                   ## @BBR_UNIT
	.comm	_bbr_target_is_bbunit,8,3       ## @bbr_target_is_bbunit
	.comm	_bbr_hptsi_gain,8,3             ## @bbr_hptsi_gain
	.comm	_BBR_SUB_DRAIN,8,3              ## @BBR_SUB_DRAIN
	.no_dead_strip	_bbr_set_state_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_set_state_target
_bbr_set_state_target:                  ; @bbr_set_state_target
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _BBR_STATE_PROBE_RTT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BBR_STATE_PROBE_RTT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _bbr_rtt_probe_cwndtarg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bbr_rtt_probe_cwndtarg@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19, #48]
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	sub	w9, w9, w10
	mul	w21, w9, w8
	mov	w3, #1
	b	LBB0_10
LBB0_4:
Lloh6:
	adrp	x8, _BBR_STATE_PROBE_BW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BBR_STATE_PROBE_BW@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x8]
Lloh9:
	adrp	x8, _BBR_UNIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BBR_UNIT@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:
	ldr	x1, [x19, #24]
	ldr	x9, [x8]
	cmp	x1, x9
	b.le	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_bbr_get_a_state_target
	mov	x21, x0
	mov	w3, #2
	b	LBB0_10
LBB0_7:
Lloh11:
	adrp	x9, _bbr_target_is_bbunit@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bbr_target_is_bbunit@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cbnz	x9, LBB0_9
; %bb.8:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_11
LBB0_9:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_bbr_get_a_state_target
	mov	x21, x0
	mov	w3, #3
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_bbr_log_set_of_state_target
	str	w21, [x19, #32]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x1, [x19, #24]
Lloh14:
	adrp	x8, _bbr_hptsi_gain@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bbr_hptsi_gain@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _BBR_SUB_DRAIN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BBR_SUB_DRAIN@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	mov	x0, x19
	cmp	x1, x8
	b.ge	LBB0_13
; %bb.12:
	mov	x1, x8
	bl	_bbr_get_a_state_target
	mov	x21, x0
	mov	w3, #4
	b	LBB0_10
LBB0_13:
	bl	_bbr_get_a_state_target
	mov	x21, x0
	mov	w3, #5
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BBR_STATE_PROBE_RTT,8,3        ; @BBR_STATE_PROBE_RTT
	.comm	_bbr_rtt_probe_cwndtarg,4,2     ; @bbr_rtt_probe_cwndtarg
	.comm	_BBR_STATE_PROBE_BW,8,3         ; @BBR_STATE_PROBE_BW
	.comm	_BBR_UNIT,8,3                   ; @BBR_UNIT
	.comm	_bbr_target_is_bbunit,8,3       ; @bbr_target_is_bbunit
	.comm	_bbr_hptsi_gain,8,3             ; @bbr_hptsi_gain
	.comm	_BBR_SUB_DRAIN,8,3              ; @BBR_SUB_DRAIN
	.no_dead_strip	_bbr_set_state_target
.subsections_via_symbols
