	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_user_sq_size
_set_user_sq_size:                      ## @set_user_sq_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movb	(%rdx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%rdi), %rax
	cmpl	(%rax), %edx
	jg	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	8(%rbx), %r15
	movl	4(%rax), %edi
	callq	_roundup_pow_of_two
	movl	%eax, %edi
	callq	_ilog2
	cmpq	%rax, %r15
	jg	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movq	_MLX4_IB_MIN_SQ_STRIDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movb	(%rbx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movl	%edx, 8(%r14)
	movq	%rax, 16(%r14)
	movl	24(%r14), %esi
	movb	28(%r14), %cl
	shll	%cl, %esi
	movl	%eax, %ecx
	shll	%cl, %edx
	addl	%esi, %edx
	movl	%edx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_IB_MIN_SQ_STRIDE,8,3      ## @MLX4_IB_MIN_SQ_STRIDE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_user_sq_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_user_sq_size
_set_user_sq_size:                      ; @set_user_sq_size
	.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
	ldr	w8, [x2]
	mov	w9, #1
	lsl	w9, w9, w8
	ldr	x8, [x0]
	ldr	w10, [x8]
	cmp	w9, w10
	b.gt	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	x21, [x2, #8]
	ldr	w0, [x8, #4]
	bl	_roundup_pow_of_two
	bl	_ilog2
	cmp	x21, x0
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _MLX4_IB_MIN_SQ_STRIDE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_IB_MIN_SQ_STRIDE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	mov	w0, #0
	ldr	w9, [x20]
	mov	w10, #1
	lsl	w9, w10, w9
	str	w9, [x19, #8]
	str	x8, [x19, #16]
	ldp	w10, w11, [x19, #24]
	lsl	w10, w10, w11
	lsl	w8, w9, w8
	add	w8, w10, w8
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_IB_MIN_SQ_STRIDE,8,3      ; @MLX4_IB_MIN_SQ_STRIDE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_user_sq_size
.subsections_via_symbols
