	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt77252_init_ubr
_idt77252_init_ubr:                     ## @idt77252_init_ubr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	24(%rsi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_del_timer
	movq	16(%rbx), %rdi
	callq	_kfree
	movq	$0, 16(%rbx)
LBB0_2:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_atm_pcr_goal
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %r15d
LBB0_4:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_idt77252_init_est
	movq	%rax, 16(%rbx)
	movq	_SCHED_UBR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_idt77252_rate_logindex
	movl	%eax, (%rbx)
	movl	%eax, 4(%rbx)
	testl	%r15d, %r15d
	movl	$255, %ecx
	cmovsl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCHED_UBR,4,2                  ## @SCHED_UBR
	.no_dead_strip	_idt77252_init_ubr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt77252_init_ubr
_idt77252_init_ubr:                     ; @idt77252_init_ubr
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
	add	x22, x1, #24
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_del_timer
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
LBB0_2:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	bl	_atm_pcr_goal
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w21, [x20]
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_idt77252_init_est
	str	x0, [x19, #16]
Lloh0:
	adrp	x8, _SCHED_UBR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCHED_UBR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_idt77252_rate_logindex
	stp	w0, w0, [x19]
	mov	w8, #255
	cmp	w21, #0
	csel	w8, w0, w8, lt
	str	w8, [x19, #8]
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCHED_UBR,4,2                  ; @SCHED_UBR
	.no_dead_strip	_idt77252_init_ubr
.subsections_via_symbols
