	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usual_arith_conv
_usual_arith_conv:                      ## @usual_arith_conv
	.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	%rsi, %rbx
	movq	%rdi, %r12
	callq	_is_arithtype
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_is_arithtype
	movl	%eax, %edi
	callq	_assert
	movq	(%r12), %rax
	cmpq	(%rbx), %rax
	movq	%rbx, %r14
	cmovlq	%r12, %r14
	cmovlq	%rbx, %r12
	movq	%r12, %rdi
	callq	_is_flotype
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	%r12, %rdi
	callq	_is_inttype
	xorl	%r15d, %r15d
	movl	$0, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r12), %rax
	movq	_type_int@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
LBB0_3:
	callq	_assert
	movq	%r14, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r14), %rax
	movq	_type_int@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	setge	%r15b
LBB0_5:
	movl	%r15d, %edi
	callq	_assert
	movq	8(%r14), %rax
	cmpq	%rax, 8(%r12)
	jg	LBB0_8
## %bb.6:
	sete	%al
	movzbl	%al, %edi
	callq	_assert
	movq	16(%r12), %rax
	cmpq	16(%r14), %rax
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_copy_type
	movq	%rax, %r12
	movq	$1, 16(%rax)
LBB0_8:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_type_int,8,3                   ## @type_int
	.no_dead_strip	_usual_arith_conv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usual_arith_conv
_usual_arith_conv:                      ; @usual_arith_conv
	.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	x21, x0
	bl	_is_arithtype
	bl	_assert
	mov	x0, x19
	bl	_is_arithtype
	bl	_assert
	ldr	x8, [x21]
	ldr	x9, [x19]
	cmp	x8, x9
	csel	x20, x21, x19, lt
	csel	x19, x19, x21, lt
	mov	x0, x19
	bl	_is_flotype
	cbnz	x0, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_is_inttype
Lloh0:
	adrp	x21, _type_int@GOTPAGE
Lloh1:
	ldr	x21, [x21, _type_int@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
LBB0_3:
	bl	_assert
	mov	x0, x20
	bl	_is_inttype
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	x9, [x21]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
LBB0_5:
	bl	_assert
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.gt	LBB0_8
; %bb.6:
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_copy_type
	mov	x19, x0
	mov	w8, #1
	str	x8, [x0, #16]
LBB0_8:
	mov	x0, x19
	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	_type_int,8,3                   ; @type_int
	.no_dead_strip	_usual_arith_conv
.subsections_via_symbols
