	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_build_script               ## -- Begin function xdl_build_script
	.p2align	4, 0x90
_xdl_build_script:                      ## @xdl_build_script
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rbx
	movq	(%rdi), %r14
	movq	8(%rdi), %rdx
	movq	24(%rdi), %r12
	testq	%r12, %r12
	jns	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	jns	LBB0_3
## %bb.2:
	xorl	%eax, %eax
LBB0_9:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_3:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	cmpb	$0, -1(%rbx,%r12)
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, -1(%r14,%rdx)
	je	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	$-1, %rcx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rcx
	cmpb	$0, -1(%rbx,%r12)
	leaq	-1(%r12), %r12
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r12), %rsi
	movq	$-1, %r8
	movq	%rdx, %r15
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r8
	cmpb	$0, -1(%r14,%r15)
	leaq	-1(%r15), %r15
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r15), %rdx
	movq	%r13, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_xdl_add_change
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rcx
	testq	%rax, %rax
	je	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdx
	testq	%rsi, %rsi
	jg	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdx
	movq	%rcx, %r12
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jg	LBB0_4
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1(%r12), %rcx
	leaq	-1(%rdx), %r15
	movq	%r12, %rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rax
	movq	%rcx, %r12
	jmp	LBB0_7
LBB0_15:
	movq	%r13, %rdi
	callq	_xdl_free_script
	movl	$-1, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_build_script               ; -- Begin function xdl_build_script
	.p2align	2
_xdl_build_script:                      ; @xdl_build_script
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldp	x23, x20, [x0, #16]
	ldp	x24, x8, [x0]
	tbz	x20, #63, LBB0_4
; %bb.1:
	tbz	x8, #63, LBB0_4
; %bb.2:
	mov	x21, #0
LBB0_3:
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_17
LBB0_4:
	mov	x21, #0
	sub	x25, x23, #1
	sub	x26, x24, #1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	sub	x27, x20, #1
	ldrb	w9, [x23, x27]
	cbnz	w9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x28, x8, #1
	ldrb	w9, [x24, x28]
	cbz	w9, LBB0_15
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, #0
	add	x10, x25, x20
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10, x9]
	sub	x9, x9, #1
	cbnz	w11, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, #0
	add	x27, x20, x9
	add	x20, x27, #1
	add	x11, x26, x8
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x11, x10]
	sub	x10, x10, #1
	cbnz	w12, LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mvn	x3, x9
	mvn	x4, x10
	add	x28, x8, x10
	add	x22, x28, #1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_xdl_add_change
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x28
	cmp	x20, #0
	mov	x20, x27
	b.gt	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x28
	mov	x20, x27
	cmp	x22, #0
	b.gt	LBB0_5
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x8
	b	LBB0_13
LBB0_16:
	mov	x0, x21
	bl	_xdl_free_script
	mov	w0, #-1
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
