	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_guess_convert_xml          ## -- Begin function sdl_guess_convert_xml
	.p2align	4, 0x90
_sdl_guess_convert_xml:                 ## @sdl_guess_convert_xml
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	(%rax), %edx
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_16
## %bb.2:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_3:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %eax
	movq	_IS_ARRAY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_18
## %bb.5:
	movq	_SOAP_ENC_ARRAY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_18
LBB0_6:
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_to_xml_object                  ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_to_xml_union
	jmp	LBB0_12
LBB0_8:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	cmpq	%r15, %rdi
	je	LBB0_11
## %bb.10:
	movl	%r14d, %edx
	callq	_master_to_xml
	jmp	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_guess_xml_convert
LBB0_12:
	movq	%rax, %rbx
LBB0_13:
	movq	_SOAP_ENCODED@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_set_ns_and_type
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_soap_error0
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_17:
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_to_xml_list
	jmp	LBB0_12
LBB0_18:
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_to_xml_array                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_17
	.long	L0_0_set_3
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_SOAP_ENCODED,4,2               ## @SOAP_ENCODED
	.comm	_IS_ARRAY,4,2                   ## @IS_ARRAY
	.comm	_SOAP_ENC_ARRAY,4,2             ## @SOAP_ENC_ARRAY
	.comm	_E_ERROR,4,2                    ## @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Encoding: Internal Error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdl_guess_convert_xml          ; -- Begin function sdl_guess_convert_xml
	.p2align	2
_sdl_guess_convert_xml:                 ; @sdl_guess_convert_xml
	.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	x20, x2
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	w9, [x8]
	sub	w9, w9, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.2:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _IS_ARRAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IS_ARRAY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _SOAP_ENC_ARRAY@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SOAP_ENC_ARRAY@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	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	_to_xml_array
LBB0_6:
	mov	x0, x19
	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	_to_xml_object
LBB0_7:
Lloh8:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_soap_error0
	mov	x21, #0
	b	LBB0_12
LBB0_8:
	mov	x0, x19
	mov	x2, x20
	bl	_to_xml_union
	b	LBB0_11
LBB0_9:
	ldr	x0, [x8, #8]
	cmp	x0, #0
	ccmp	x0, x19, #4, ne
	b.ne	LBB0_16
LBB0_10:
	mov	x0, x19
	mov	x2, x20
	bl	_guess_xml_convert
LBB0_11:
	mov	x21, x0
LBB0_12:
Lloh13:
	adrp	x8, _SOAP_ENCODED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SOAP_ENCODED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x19
	bl	_set_ns_and_type
LBB0_14:
	mov	x0, x21
	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
LBB0_15:
	mov	x0, x19
	mov	x2, x20
	bl	_to_xml_list
	b	LBB0_11
LBB0_16:
	mov	x2, x20
	bl	_master_to_xml
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_SOAP_ENCODED,4,2               ; @SOAP_ENCODED
	.comm	_IS_ARRAY,4,2                   ; @IS_ARRAY
	.comm	_SOAP_ENC_ARRAY,4,2             ; @SOAP_ENC_ARRAY
	.comm	_E_ERROR,4,2                    ; @E_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Encoding: Internal Error"

.subsections_via_symbols
