	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DropErrorMsgWrongType
_DropErrorMsgWrongType:                 ## @DropErrorMsgWrongType
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_dropmsgstringarray@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %eax
	addq	$12, %r12
	testb	%al, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	%dl, %al
	jne	LBB0_1
LBB0_3:
	xorl	%edi, %edi
	testb	%al, %al
	setne	%dil
	callq	_Assert
	movq	(%rbx), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	addq	$12, %rbx
	testb	%al, %al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	%r15b, %al
	jne	LBB0_4
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	-4(%r12), %edi
	movq	%r14, %rsi
	callq	_errmsg
	cmpb	$0, -12(%rbx)
	je	LBB0_7
## %bb.8:
	movl	-8(%rbx), %edi
	callq	__
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errhint
	movl	%eax, %esi
	jmp	LBB0_9
LBB0_7:
	xorl	%esi, %esi
LBB0_9:
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dropmsgstringarray,8,3         ## @dropmsgstringarray
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_DropErrorMsgWrongType
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DropErrorMsgWrongType
_DropErrorMsgWrongType:                 ; @DropErrorMsgWrongType
	.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, x0
	and	w20, w1, #0xff
	and	w8, w2, #0xff
Lloh0:
	adrp	x22, _dropmsgstringarray@GOTPAGE
Lloh1:
	ldr	x22, [x22, _dropmsgstringarray@GOTPAGEOFF]
	ldr	x21, [x22]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21], #12
	cmp	w9, #0
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_1
; %bb.2:
	cmp	w9, #0
	cset	w0, ne
	bl	_Assert
	ldr	x22, [x22]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22], #12
	cmp	w8, #0
	ccmp	w8, w20, #4, ne
	b.ne	LBB0_3
; %bb.4:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
	ldur	w0, [x21, #-4]
	mov	x1, x19
	bl	_errmsg
	ldurb	w8, [x22, #-12]
	cbz	w8, LBB0_6
; %bb.5:
	ldur	w0, [x22, #-8]
	bl	__
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errhint
	mov	x1, x0
	b	LBB0_7
LBB0_6:
	mov	w1, #0
LBB0_7:
	mov	x0, x20
	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
	b	_ereport
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_dropmsgstringarray,8,3         ; @dropmsgstringarray
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_DropErrorMsgWrongType
.subsections_via_symbols
