	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_type_promote
_dt_type_promote:                       ## @dt_type_promote
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movq	(%rsi), %r12
	movq	8(%rsi), %r14
	movq	%rbx, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_ctf_type_resolve
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_ctf_type_kind
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	callq	_ctf_type_resolve
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_ctf_type_kind
	movq	%rax, %r13
	movq	_yypcb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CTF_K_INTEGER@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r15
	sete	%cl
	movq	_CTF_K_ENUM@GOTPCREL(%rip), %r12
	cmpq	(%r12), %r15
	movq	8(%rax), %r14
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	cmpq	(%rbx), %r13
	sete	%al
	cmpq	(%r12), %r13
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	(%r12), %rcx
	cmpq	%rcx, %r15
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_DT_INT_CTFP
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_DT_INT_TYPE
	movq	(%r12), %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_2:
	cmpq	%rcx, %r13
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_DT_INT_CTFP
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_DT_INT_TYPE
	movq	%rax, %r13
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_4:
	leaq	-136(%rbp), %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ctf_type_encoding
	movq	_CTF_ERR@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_ctf_errno
	movq	_yypcb@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	(%rdx), %rax
	movl	(%rax), %edi
	movq	_EDT_CTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_longjmp
LBB0_6:
	leaq	-120(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ctf_type_encoding
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_ctf_errno
	movq	_yypcb@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	(%rdx), %rax
	movl	(%rax), %edi
	movq	_EDT_CTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_longjmp
LBB0_8:
	movq	-136(%rbp), %rax
	movq	_CTF_INT_SIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-128(%rbp), %edx
	andl	%ecx, %edx
	cmpl	$1, %edx
	adcq	$0, %rax
	movq	-120(%rbp), %rdx
	andl	-112(%rbp), %ecx
	cmpl	$1, %ecx
	adcq	$0, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
## %bb.9:
	cmpq	%r13, %r12
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jl	LBB0_11
	jmp	LBB0_12
LBB0_10:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jg	LBB0_12
LBB0_11:
	movq	%r15, %rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_12:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, (%rax)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yypcb,8,3                      ## @yypcb
	.comm	_CTF_K_INTEGER,8,3              ## @CTF_K_INTEGER
	.comm	_CTF_K_ENUM,8,3                 ## @CTF_K_ENUM
	.comm	_CTF_ERR,8,3                    ## @CTF_ERR
	.comm	_EDT_CTF,4,2                    ## @EDT_CTF
	.comm	_CTF_INT_SIGNED,4,2             ## @CTF_INT_SIGNED
	.no_dead_strip	_dt_type_promote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_type_promote
_dt_type_promote:                       ; @dt_type_promote
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x2, x3, [sp, #16]               ; 16-byte Folded Spill
	ldp	x23, x21, [x0]
	ldp	x20, x22, [x1]
	mov	x0, x21
	mov	x1, x23
	bl	_ctf_type_resolve
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	bl	_ctf_type_kind
	mov	x19, x0
	mov	x0, x22
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	x1, x20
	bl	_ctf_type_resolve
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	bl	_ctf_type_kind
	mov	x28, x0
Lloh0:
	adrp	x8, _yypcb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yypcb@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x27, [x8, #8]
Lloh3:
	adrp	x24, _CTF_K_INTEGER@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CTF_K_INTEGER@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x19, x8
Lloh5:
	adrp	x20, _CTF_K_ENUM@GOTPAGE
Lloh6:
	ldr	x20, [x20, _CTF_K_ENUM@GOTPAGEOFF]
	ldr	x8, [x20]
	ccmp	x19, x8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x24]
	cmp	x28, x8
	ldr	x8, [x20]
	ccmp	x28, x8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
	cmp	x19, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x27
	bl	_DT_INT_CTFP
	mov	x21, x0
	mov	x0, x27
	bl	_DT_INT_TYPE
	mov	x25, x0
	ldr	x8, [x20]
	mov	x23, x0
LBB0_2:
	cmp	x28, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x27
	bl	_DT_INT_CTFP
	mov	x22, x0
	mov	x0, x27
	bl	_DT_INT_TYPE
	mov	x26, x0
	mov	x24, x0
	b	LBB0_5
LBB0_4:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
LBB0_5:
	add	x2, sp, #48
	mov	x0, x21
	mov	x1, x25
	bl	_ctf_type_encoding
Lloh7:
	adrp	x20, _CTF_ERR@GOTPAGE
Lloh8:
	ldr	x20, [x20, _CTF_ERR@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh9:
	adrp	x19, _EDT_CTF@GOTPAGE
Lloh10:
	ldr	x19, [x19, _EDT_CTF@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ctf_errno
Lloh11:
	adrp	x9, _yypcb@GOTPAGE
Lloh12:
	ldr	x9, [x9, _yypcb@GOTPAGEOFF]
	ldr	x8, [x9]
	ldr	x8, [x8, #8]
	str	x0, [x8]
	ldr	x8, [x9]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_longjmp
LBB0_7:
	add	x2, sp, #32
	mov	x0, x22
	mov	x1, x26
	bl	_ctf_type_encoding
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_ctf_errno
Lloh13:
	adrp	x9, _yypcb@GOTPAGE
Lloh14:
	ldr	x9, [x9, _yypcb@GOTPAGEOFF]
	ldr	x8, [x9]
	ldr	x8, [x8, #8]
	str	x0, [x8]
	ldr	x8, [x9]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_longjmp
LBB0_9:
	ldr	x8, [sp, #48]
	ldr	w9, [sp, #56]
Lloh15:
	adrp	x10, _CTF_INT_SIGNED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CTF_INT_SIGNED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	cinc	x8, x8, eq
	ldr	x9, [sp, #32]
	ldr	w11, [sp, #40]
	tst	w11, w10
	cinc	x9, x9, eq
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	cmp	x25, x26
	b.lt	LBB0_12
	b	LBB0_13
LBB0_11:
	b.gt	LBB0_13
LBB0_12:
	mov	x21, x22
	mov	x23, x24
LBB0_13:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x21, [x8]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x23, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_yypcb,8,3                      ; @yypcb
	.comm	_CTF_K_INTEGER,8,3              ; @CTF_K_INTEGER
	.comm	_CTF_K_ENUM,8,3                 ; @CTF_K_ENUM
	.comm	_CTF_ERR,8,3                    ; @CTF_ERR
	.comm	_EDT_CTF,4,2                    ; @EDT_CTF
	.comm	_CTF_INT_SIGNED,4,2             ; @CTF_INT_SIGNED
	.no_dead_strip	_dt_type_promote
.subsections_via_symbols
