	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_qp_size
_rs_set_qp_size:                        ## @rs_set_qp_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_ucma_max_qpsize
	movq	_RS_QP_MAX_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_min
	movq	(%rbx), %rdx
	movq	%rax, %rcx
	cmpq	%rax, %rdx
	jg	LBB0_2
## %bb.1:
	movq	_RS_QP_MIN_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_3
LBB0_2:
	movq	%rcx, (%rbx)
LBB0_3:
	movq	8(%rbx), %rcx
	cmpq	%rax, %rcx
	jg	LBB0_5
## %bb.4:
	movq	_RS_QP_MIN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jge	LBB0_6
LBB0_5:
	movq	%rax, 8(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_QP_MAX_SIZE,4,2             ## @RS_QP_MAX_SIZE
	.comm	_RS_QP_MIN_SIZE,8,3             ## @RS_QP_MIN_SIZE
	.no_dead_strip	_rs_set_qp_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_qp_size
_rs_set_qp_size:                        ; @rs_set_qp_size
	.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, [x0, #16]
	bl	_ucma_max_qpsize
Lloh0:
	adrp	x8, _RS_QP_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RS_QP_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_min
	ldr	x10, [x19]
Lloh3:
	adrp	x8, _RS_QP_MIN_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RS_QP_MIN_SIZE@GOTPAGEOFF]
	mov	x9, x0
	cmp	x10, x0
	b.gt	LBB0_2
; %bb.1:
	ldr	x9, [x8]
	cmp	x10, x9
	b.ge	LBB0_3
LBB0_2:
	str	x9, [x19]
LBB0_3:
	ldr	x9, [x19, #8]
	cmp	x9, x0
	b.gt	LBB0_5
; %bb.4:
	ldr	x0, [x8]
	cmp	x9, x0
	b.ge	LBB0_6
LBB0_5:
	str	x0, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_QP_MAX_SIZE,4,2             ; @RS_QP_MAX_SIZE
	.comm	_RS_QP_MIN_SIZE,8,3             ; @RS_QP_MIN_SIZE
	.no_dead_strip	_rs_set_qp_size
.subsections_via_symbols
