	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_master_to_zval                 ## -- Begin function master_to_zval
	.p2align	4, 0x90
_master_to_zval:                        ## @master_to_zval
	.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, %r12
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_check_and_resolve_href
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_10
## %bb.1:
	movl	(%r15), %edi
	movq	_XSI_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_get_attribute_ex
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %rbx
	movq	_sdl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SOAP_GLOBAL
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_get_encoder_from_prefix
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	cmpq	%r12, %rax
	je	LBB0_15
## %bb.4:
	movq	_XSD_TYPEKIND_COMPLEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	movq	%rax, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rdx, (%rdi)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %rdi
	cmpq	%rdi, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rdi, %rsi
	movq	%rdi, %rsi
	jne	LBB0_5
	jmp	LBB0_14
LBB0_10:
	movq	_UNKNOWN_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_conversion
	movq	%rax, %r12
	jmp	LBB0_15
LBB0_13:
	movq	%rax, %rcx
LBB0_14:
	testq	%rcx, %rcx
	cmovneq	%rcx, %r12
LBB0_15:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_master_to_zval_int             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNKNOWN_TYPE,4,2               ## @UNKNOWN_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type"

	.comm	_XSI_NAMESPACE,4,2              ## @XSI_NAMESPACE
	.comm	_sdl,4,2                        ## @sdl
	.comm	_XSD_TYPEKIND_COMPLEX,8,3       ## @XSD_TYPEKIND_COMPLEX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_master_to_zval                 ; -- Begin function master_to_zval
	.p2align	2
_master_to_zval:                        ; @master_to_zval
	.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	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_check_and_resolve_href
	mov	x20, x0
	cbz	x21, LBB0_10
; %bb.1:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _XSI_NAMESPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XSI_NAMESPACE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_get_attribute_ex
	cbz	x0, LBB0_11
; %bb.2:
	mov	x22, x0
Lloh5:
	adrp	x8, _sdl@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sdl@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_SOAP_GLOBAL
	ldr	x8, [x22]
	ldr	w2, [x8]
	mov	x1, x20
	bl	_get_encoder_from_prefix
	cmp	x0, #0
	ccmp	x0, x21, #4, ne
	b.eq	LBB0_11
; %bb.3:
Lloh8:
	adrp	x8, _XSD_TYPEKIND_COMPLEX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XSD_TYPEKIND_COMPLEX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	x9, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x10]
	cmp	x11, x8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10, #8]
	cmp	x0, x10
	ccmp	x9, x10, #4, ne
	mov	x9, x10
	b.ne	LBB0_4
; %bb.8:
	mov	x0, #0
LBB0_9:
	cmp	x0, #0
	csel	x21, x21, x0, eq
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _UNKNOWN_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UNKNOWN_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_get_conversion
	mov	x21, x0
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	mov	x2, 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	_master_to_zval_int
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UNKNOWN_TYPE,4,2               ; @UNKNOWN_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type"

	.comm	_XSI_NAMESPACE,4,2              ; @XSI_NAMESPACE
	.comm	_sdl,4,2                        ; @sdl
	.comm	_XSD_TYPEKIND_COMPLEX,8,3       ; @XSD_TYPEKIND_COMPLEX
.subsections_via_symbols
