	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_and_resolve_href
_check_and_resolve_href:                ## @check_and_resolve_href
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_get_attribute
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_get_attribute
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_8:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	cmpb	$35, (%rcx)
	jne	LBB0_11
## %bb.9:
	movq	(%r14), %rax
	movl	(%rax), %edi
	incq	%rcx
	leaq	L_.str.1(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_get_node_with_attribute_recursive
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_17
LBB0_11:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rcx, %rdx
	callq	_soap_error1
LBB0_12:
	movq	8(%r14), %rdi
	movq	_SOAP_1_2_ENC_NAMESPACE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_get_attribute_ex
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%r8d, %r8d
	cmpb	$35, (%rax)
	sete	%r8b
	addq	%rax, %r8
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%r15), %r9d
	leaq	L_.str.1(%rip), %rcx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_get_node_with_attribute_recursive_ex
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	cmpq	%r14, %rax
	jne	LBB0_19
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %r15
	jmp	LBB0_18
LBB0_7:
	movq	%r14, %rax
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.2(%rip), %rsi
LBB0_18:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	callq	_soap_error1
	movq	%r15, %rax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"href"

L_.str.1:                               ## @.str.1
	.asciz	"id"

	.comm	_E_ERROR,4,2                    ## @E_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Encoding: Unresolved reference '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"Encoding: External reference '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"ref"

	.comm	_SOAP_1_2_ENC_NAMESPACE,4,2     ## @SOAP_1_2_ENC_NAMESPACE
L_.str.5:                               ## @.str.5
	.asciz	"Encoding: Violation of id and ref information items '%s'"

	.no_dead_strip	_check_and_resolve_href
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_and_resolve_href
_check_and_resolve_href:                ; @check_and_resolve_href
	.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
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_15
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_get_attribute
	cbz	x0, LBB0_9
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_get_attribute
	mov	x20, x0
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_6:
	ldr	x8, [x20]
	ldr	x2, [x8]
	ldrb	w8, [x2]
	cmp	w8, #35
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x3, x2, #1
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, #0
	bl	_get_node_with_attribute_recursive
	cbnz	x0, LBB0_16
	b	LBB0_13
LBB0_8:
Lloh6:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_soap_error1
LBB0_9:
	ldr	x0, [x19, #8]
Lloh11:
	adrp	x21, _SOAP_1_2_ENC_NAMESPACE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _SOAP_1_2_ENC_NAMESPACE@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_get_attribute_ex
	cbz	x0, LBB0_15
; %bb.10:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #35
	csel	x4, x8, x9, ne
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w5, [x21]
Lloh15:
	adrp	x3, l_.str.1@PAGE
Lloh16:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_get_node_with_attribute_recursive_ex
	cbz	x0, LBB0_13
; %bb.11:
	cmp	x0, x19
	b.ne	LBB0_16
; %bb.12:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_13:
	mov	x19, #0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
Lloh21:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x2, [x8]
	bl	_soap_error1
LBB0_15:
	mov	x0, x19
LBB0_16:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"href"

l_.str.1:                               ; @.str.1
	.asciz	"id"

	.comm	_E_ERROR,4,2                    ; @E_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Encoding: Unresolved reference '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"Encoding: External reference '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"ref"

	.comm	_SOAP_1_2_ENC_NAMESPACE,4,2     ; @SOAP_1_2_ENC_NAMESPACE
l_.str.5:                               ; @.str.5
	.asciz	"Encoding: Violation of id and ref information items '%s'"

	.no_dead_strip	_check_and_resolve_href
.subsections_via_symbols
