	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_validate
_ucl_validate:                          ## @ucl_validate
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_PyArg_ParseTuple
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-40(%rbp), %rdi
	callq	__iterate_python
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	callq	__iterate_python
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r14
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ucl_object_validate
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_ucl_object_unref
	movq	%r14, %rdi
	callq	_ucl_object_unref
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.5:
	movq	_SchemaError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-32(%rbp), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_PyExc_TypeError@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	callq	_PyErr_SetString
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OO"

	.comm	_PyExc_TypeError,4,2            ## @PyExc_TypeError
L_.str.1:                               ## @.str.1
	.asciz	"Unhandled object type"

	.comm	_SchemaError,4,2                ## @SchemaError
	.comm	_Py_RETURN_TRUE,4,2             ## @Py_RETURN_TRUE
	.no_dead_strip	_ucl_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_validate
_ucl_validate:                          ; @ucl_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x0, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #24
	bl	_PyArg_ParseTuple
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x0, [sp, #16]
	bl	__iterate_python
	cbz	x0, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	x0, [sp, #24]
	bl	__iterate_python
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_ucl_object_validate
	mov	x21, x0
	mov	x0, x19
	bl	_ucl_object_unref
	mov	x0, x20
	bl	_ucl_object_unref
	cbnz	w21, LBB0_7
; %bb.4:
Lloh2:
	adrp	x8, _SchemaError@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SchemaError@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x1, [sp, #8]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _PyExc_TypeError@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PyExc_TypeError@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_PyErr_SetString
LBB0_7:
	mov	x0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OO"

	.comm	_PyExc_TypeError,4,2            ; @PyExc_TypeError
l_.str.1:                               ; @.str.1
	.asciz	"Unhandled object type"

	.comm	_SchemaError,4,2                ; @SchemaError
	.comm	_Py_RETURN_TRUE,4,2             ; @Py_RETURN_TRUE
	.no_dead_strip	_ucl_validate
.subsections_via_symbols
