	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expr_common_type
_expr_common_type:                      ## @expr_common_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	_HLSL_CLASS_LAST_NUMERIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jg	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	cmpq	%rax, (%rsi)
	jle	LBB0_5
LBB0_2:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_HLSL_LEVEL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
LBB0_3:
	callq	_hlsl_report_message
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rdi, %r14
	movq	%r15, %rsi
	callq	_compare_hlsl_types
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_expr_compatible_data_types
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	8(%r14), %rbx
	movq	8(%r15), %rsi
	cmpq	%rsi, %rbx
	je	LBB0_10
## %bb.9:
	movl	%ebx, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_expr_common_base_type
	movl	%eax, %ebx
LBB0_10:
	movl	16(%r14), %r12d
	cmpl	$1, %r12d
	jne	LBB0_13
## %bb.11:
	cmpl	$1, 20(%r14)
	jne	LBB0_13
## %bb.12:
	movl	(%r15), %r13d
	movl	16(%r15), %r12d
	movl	20(%r15), %r8d
	jmp	LBB0_24
LBB0_13:
	movl	16(%r15), %esi
	cmpl	$1, %esi
	jne	LBB0_16
## %bb.14:
	cmpl	$1, 20(%r15)
	jne	LBB0_16
## %bb.15:
	movl	(%r14), %r13d
	movl	20(%r14), %r8d
	jmp	LBB0_24
LBB0_7:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_HLSL_LEVEL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	jmp	LBB0_3
LBB0_16:
	movq	(%r14), %r13
	movq	_HLSL_CLASS_MATRIX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_19
## %bb.17:
	cmpq	%r13, (%r15)
	jne	LBB0_19
## %bb.18:
	movl	%r12d, %edi
	callq	_min
	movl	%eax, %r12d
	movl	20(%r14), %edi
	movl	20(%r15), %esi
	callq	_min
	movl	%eax, %r8d
	jmp	LBB0_24
LBB0_19:
	movl	20(%r14), %esi
	movl	%r12d, %edi
	callq	_max
	movl	%eax, %r13d
	movl	16(%r15), %edi
	movl	20(%r15), %esi
	callq	_max
	movl	16(%r14), %r12d
	movl	20(%r14), %r8d
	movl	%r8d, %edx
	imull	%r12d, %edx
	movl	16(%r15), %esi
	movl	20(%r15), %ecx
	movl	%ecx, %edi
	imull	%esi, %edi
	cmpl	%edi, %edx
	jne	LBB0_21
## %bb.20:
	movq	_HLSL_CLASS_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_max
	movl	%eax, %r12d
	movl	$1, %r8d
	jmp	LBB0_24
LBB0_21:
	cmpl	%eax, %r13d
	jbe	LBB0_22
## %bb.23:
	movl	(%r15), %r13d
	movq	_HLSL_CLASS_VECTOR@GOTPCREL(%rip), %rdx
	cmpl	%r13d, (%rdx)
	cmovel	%eax, %esi
	movl	$1, %eax
	cmovel	%eax, %ecx
	movl	%esi, %r12d
	movl	%ecx, %r8d
	jmp	LBB0_24
LBB0_22:
	movl	%r13d, %ecx
	movl	(%r14), %r13d
	movq	_HLSL_CLASS_VECTOR@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	cmovel	%ecx, %r12d
	movl	$1, %eax
	cmovel	%eax, %r8d
LBB0_24:
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_new_hlsl_type                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HLSL_CLASS_LAST_NUMERIC,8,3    ## @HLSL_CLASS_LAST_NUMERIC
	.comm	_HLSL_LEVEL_ERROR,4,2           ## @HLSL_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"non scalar/vector/matrix data type in expression"

L_.str.1:                               ## @.str.1
	.asciz	"expression data types are incompatible"

	.comm	_HLSL_CLASS_MATRIX,8,3          ## @HLSL_CLASS_MATRIX
	.comm	_HLSL_CLASS_VECTOR,4,2          ## @HLSL_CLASS_VECTOR
	.no_dead_strip	_expr_common_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expr_common_type
_expr_common_type:                      ; @expr_common_type
	.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, x2
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _HLSL_CLASS_LAST_NUMERIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HLSL_CLASS_LAST_NUMERIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.gt	LBB0_2
; %bb.1:
	mov	x21, x1
	ldr	x9, [x1]
	cmp	x9, x8
	b.le	LBB0_5
LBB0_2:
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x19]
Lloh3:
	adrp	x8, _HLSL_LEVEL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HLSL_LEVEL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x4, l_.str@PAGE
Lloh7:
	add	x4, x4, l_.str@PAGEOFF
LBB0_3:
	bl	_hlsl_report_message
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	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
LBB0_5:
	mov	x20, x0
	mov	x1, x21
	bl	_compare_hlsl_types
	cbnz	x0, LBB0_4
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	bl	_expr_compatible_data_types
	cbz	w0, LBB0_15
; %bb.7:
	ldr	x19, [x20, #8]
	ldr	x1, [x21, #8]
	cmp	x19, x1
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_expr_common_base_type
	mov	x19, x0
LBB0_9:
	ldr	w22, [x20, #16]
	cmp	w22, #1
	b.ne	LBB0_12
; %bb.10:
	ldr	w8, [x20, #20]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.11:
	ldr	w23, [x21]
	ldp	w22, w4, [x21, #16]
	b	LBB0_24
LBB0_12:
	ldr	w1, [x21, #16]
	cmp	w1, #1
	b.ne	LBB0_16
; %bb.13:
	ldr	w8, [x21, #20]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.14:
	ldr	w23, [x20]
	ldr	w4, [x20, #20]
	b	LBB0_24
LBB0_15:
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x19]
Lloh8:
	adrp	x8, _HLSL_LEVEL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HLSL_LEVEL_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x4, l_.str.1@PAGE
Lloh12:
	add	x4, x4, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_16:
	ldr	x23, [x20]
Lloh13:
	adrp	x8, _HLSL_CLASS_MATRIX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HLSL_CLASS_MATRIX@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_19
; %bb.17:
	ldr	x8, [x21]
	cmp	x8, x23
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	bl	_min
	mov	x22, x0
	ldr	w0, [x20, #20]
	ldr	w1, [x21, #20]
	bl	_min
	mov	x4, x0
	b	LBB0_24
LBB0_19:
	ldr	w1, [x20, #20]
	mov	x0, x22
	bl	_max
	mov	x22, x0
	ldp	w0, w1, [x21, #16]
	bl	_max
	mov	x8, x0
	ldp	w0, w9, [x20, #16]
	mul	w11, w9, w0
	ldp	w1, w10, [x21, #16]
	mul	w12, w10, w1
	cmp	w11, w12
	b.ne	LBB0_21
; %bb.20:
Lloh16:
	adrp	x8, _HLSL_CLASS_VECTOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HLSL_CLASS_VECTOR@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	bl	_max
	mov	x22, x0
	mov	w4, #1
	b	LBB0_24
LBB0_21:
	cmp	w22, w8
	b.ls	LBB0_23
; %bb.22:
	ldr	w23, [x21]
Lloh19:
	adrp	x9, _HLSL_CLASS_VECTOR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HLSL_CLASS_VECTOR@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w9, w23
	csel	w22, w8, w1, eq
	csinc	w4, w10, wzr, ne
	b	LBB0_24
LBB0_23:
	ldr	w23, [x20]
Lloh22:
	adrp	x8, _HLSL_CLASS_VECTOR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HLSL_CLASS_VECTOR@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w23
	csel	w22, w22, w0, eq
	csinc	w4, w9, wzr, ne
LBB0_24:
	mov	x0, #0
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	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
	b	_new_hlsl_type
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HLSL_CLASS_LAST_NUMERIC,8,3    ; @HLSL_CLASS_LAST_NUMERIC
	.comm	_HLSL_LEVEL_ERROR,4,2           ; @HLSL_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"non scalar/vector/matrix data type in expression"

l_.str.1:                               ; @.str.1
	.asciz	"expression data types are incompatible"

	.comm	_HLSL_CLASS_MATRIX,8,3          ; @HLSL_CLASS_MATRIX
	.comm	_HLSL_CLASS_VECTOR,4,2          ; @HLSL_CLASS_VECTOR
	.no_dead_strip	_expr_common_type
.subsections_via_symbols
