	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_thumb2_transforms
_get_thumb2_transforms:                 ## @get_thumb2_transforms
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %ebx
	xorl	%r13d, %r13d
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	(%r15), %esi
	cmpl	%ebx, %esi
	jge	LBB0_1
## %bb.3:
	movl	%ebx, %edi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_resize_height
	movl	8(%r15), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_4
## %bb.6:
	movl	(%r15), %eax
	cmpl	%r13d, %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_8
## %bb.7:
	movl	%eax, (%r12)
	movl	%r13d, 4(%r12)
	subl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	movl	%eax, 8(%r12)
	movl	$0, 12(%r12)
	movq	_THUMB2_CROP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_9
LBB0_1:
	movl	4(%r15), %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_9
## %bb.2:
	movq	_THUMB2_CROP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rcx)
	movl	%eax, 4(%rcx)
	movq	$0, 8(%rcx)
	jmp	LBB0_9
LBB0_4:
	movq	_THUMB2_RESIZE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	(%r15), %ecx
	movl	%ecx, (%r14)
	movl	%eax, 4(%r14)
	movl	4(%r15), %edx
	cmpl	%edx, %eax
	jle	LBB0_9
## %bb.5:
	movq	_THUMB2_CROP_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movl	%edx, 4(%rax)
	movq	$0, 8(%rax)
	jmp	LBB0_9
LBB0_8:
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	setl	%dil
	callq	_assert
	movl	8(%r15), %esi
	movl	%r13d, %edi
	movl	%ebx, %edx
	callq	_resize_height
	movl	%eax, (%r14)
	movl	8(%r15), %ecx
	movl	%ecx, 4(%r14)
	movl	(%r15), %edx
	movl	%edx, (%r12)
	movl	%ecx, 4(%r12)
	subl	%edx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%r12)
	movl	$0, 12(%r12)
	movq	_THUMB2_RESIZE_MASK@GOTPCREL(%rip), %rax
	movq	_THUMB2_CROP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THUMB2_CROP_MASK,4,2           ## @THUMB2_CROP_MASK
	.comm	_THUMB2_RESIZE_MASK,4,2         ## @THUMB2_RESIZE_MASK
	.no_dead_strip	_get_thumb2_transforms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_thumb2_transforms
_get_thumb2_transforms:                 ; @get_thumb2_transforms
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	mov	x0, x3
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w1, [x20]
	cmp	w1, w22
	b.ge	LBB0_4
; %bb.1:
	mov	x0, x22
	mov	x2, x23
	bl	_resize_height
	ldr	w9, [x20, #8]
	cmp	w0, w9
	b.ge	LBB0_6
; %bb.2:
	ldr	w8, [x20]
	cmp	w9, w23
	b.le	LBB0_10
; %bb.3:
	stp	w8, w23, [x19]
	sub	w8, w22, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	stp	w8, wzr, [x19, #8]
Lloh0:
	adrp	x8, _THUMB2_CROP_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THUMB2_CROP_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_4:
	ldr	w8, [x20, #4]
	cmp	w8, w23
	b.ge	LBB0_9
; %bb.5:
Lloh3:
	adrp	x9, _THUMB2_CROP_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _THUMB2_CROP_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	stp	w22, w8, [x19]
	b	LBB0_8
LBB0_6:
	mov	x8, x0
Lloh6:
	adrp	x9, _THUMB2_RESIZE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _THUMB2_RESIZE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	ldp	w9, w10, [x20]
	stp	w9, w8, [x21]
	cmp	w8, w10
	b.le	LBB0_11
; %bb.7:
Lloh9:
	adrp	x8, _THUMB2_CROP_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THUMB2_CROP_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w0, w8, w0
	stp	w9, w10, [x19]
LBB0_8:
	str	xzr, [x19, #8]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	cmp	w8, w22
	cset	w0, lt
	bl	_assert
	ldr	w1, [x20, #8]
	mov	x0, x23
	mov	x2, x22
	bl	_resize_height
	ldr	w8, [x20, #8]
	stp	w0, w8, [x21]
	ldr	w9, [x20]
	stp	w9, w8, [x19]
	sub	w8, w0, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
Lloh12:
	adrp	x9, _THUMB2_RESIZE_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _THUMB2_RESIZE_MASK@GOTPAGEOFF]
	stp	w8, wzr, [x19, #8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _THUMB2_CROP_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _THUMB2_CROP_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w0, w9, w8
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_THUMB2_CROP_MASK,4,2           ; @THUMB2_CROP_MASK
	.comm	_THUMB2_RESIZE_MASK,4,2         ; @THUMB2_RESIZE_MASK
	.no_dead_strip	_get_thumb2_transforms
.subsections_via_symbols
