	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_set_sq_sizes              ## -- Begin function mlx4_set_sq_sizes
	.p2align	4, 0x90
_mlx4_set_sq_sizes:                     ## @mlx4_set_sq_sizes
	.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	%rdi, %r14
	movb	8(%rdi), %cl
	movl	$1, %ebx
	shll	%cl, %ebx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r15
	leal	-130(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$128, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %edx
	jne	LBB0_3
LBB0_4:
	addl	$-8, %ebx
	jmp	LBB0_5
LBB0_3:
	addl	$-4, %ebx
LBB0_5:
	movl	%ebx, %eax
	sarl	$2, %eax
	movl	%eax, 12(%r14)
	movl	%eax, (%r15)
	movq	24(%r14), %rax
	subq	32(%r14), %rax
	movq	%rax, 16(%r14)
	movq	%rax, 8(%r15)
	movq	_MLX4_INLINE_ALIGN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_align
	cltd
	idivl	(%r12)
	shll	$2, %eax
	subl	%eax, %ebx
	movl	%ebx, (%r14)
	movl	%ebx, 4(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_INLINE_ALIGN,4,2          ## @MLX4_INLINE_ALIGN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_set_sq_sizes              ; -- Begin function mlx4_set_sq_sizes
	.p2align	2
_mlx4_set_sq_sizes:                     ; @mlx4_set_sq_sizes
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #8]
	mov	w9, #1
	lsl	w8, w9, w8
	sub	w9, w2, #130
	cmp	w9, #2
	b.lo	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.2:
	sub	w9, w8, #4
	sub	w8, w8, #8
	cmp	w2, #129
	csel	w21, w9, w8, ne
	b	LBB0_4
LBB0_3:
	sub	w21, w8, #8
LBB0_4:
	asr	w8, w21, #2
	str	w8, [x20, #12]
	str	w8, [x19]
	ldp	x8, x9, [x20, #24]
	sub	x8, x8, x9
	str	x8, [x20, #16]
	str	x8, [x19, #8]
Lloh0:
	adrp	x22, _MLX4_INLINE_ALIGN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLX4_INLINE_ALIGN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_align
	ldr	w8, [x22]
	sdiv	w8, w0, w8
	sub	w8, w21, w8, lsl #2
	str	w8, [x20]
	str	w8, [x19, #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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_INLINE_ALIGN,4,2          ; @MLX4_INLINE_ALIGN
.subsections_via_symbols
