	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	_fsubs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setbuf
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setbuf
	cmpl	$3, %ebx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movq	8(%r14), %rdi
	callq	_dofile
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	callq	_errx
LBB0_4:
	movl	(%r15), %edi
	callq	_sort_node
	movq	16(%r14), %rdi
	callq	_dofile
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	16(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	callq	_errx
LBB0_6:
	movl	(%rbx), %edi
	callq	_sort_node
	movl	(%r15), %edi
	movl	(%rbx), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_compare_node                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_.subs"

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

	.comm	_fsubs,4,2                      ## @fsubs
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"usage: %s file1 file2"

L_.str.3:                               ## @.str.3
	.asciz	"XML parser error on file %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
Lloh4:
	adrp	x8, _fsubs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fsubs@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
Lloh7:
	adrp	x8, _stdout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setbuf
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setbuf
	cmp	w20, #3
	b.eq	LBB0_2
; %bb.1:
	ldr	x2, [x19]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_dofile
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x2, [x19, #8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_errx
LBB0_4:
	ldr	w0, [x20]
	bl	_sort_node
	ldr	x0, [x19, #16]
	bl	_dofile
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x2, [x19, #16]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_errx
LBB0_6:
	ldr	w0, [x21]
	bl	_sort_node
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	w2, #0
	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	_compare_node
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_.subs"

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

	.comm	_fsubs,4,2                      ; @fsubs
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"usage: %s file1 file2"

l_.str.3:                               ; @.str.3
	.asciz	"XML parser error on file %s"

.subsections_via_symbols
