	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_relocate_add             ## -- Begin function apply_relocate_add
	.p2align	4, 0x90
_apply_relocate_add:                    ## @apply_relocate_add
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	shlq	$4, %rbx
	xorl	%r14d, %r14d
	cmpl	$12, 4(%rdi,%rbx)
	jb	LBB0_19
## %bb.1:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rdi,%rbx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%rdi,%rbx), %rax
	addq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	addq	%rdi, %rbx
	movl	%edx, %eax
	shlq	$4, %rax
	addq	%rdi, %rax
	addq	$8, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%r14d, (%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	incl	%ecx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rdx
	shrq	$3, %rdx
	cmpq	%rcx, %rdx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jbe	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rax
	shlq	$4, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,2), %r12
	movslq	(%r15,%r12,4), %rbx
	addq	8(%rdi,%rax), %rbx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r13
	leaq	(%r15,%r12,4), %rax
	addq	$8, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r15,%r12,4), %edi
	callq	_ELF32_R_SYM
	cltq
	movl	4(%r15,%r12,4), %r14d
	movl	8(%r15,%r12,4), %edi
	movq	%rax, %r12
	addl	(%r13,%rax,8), %r14d
	callq	_ELF32_R_TYPE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$36, %eax
	ja	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_decode_calln_opcode
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$4, %ebx
	andl	$-4, %ebx
	subl	%ebx, %r14d
	testb	$3, %r14b
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$524288, %r14d                  ## imm = 0x80000
	cmpl	$1048576, %r14d                 ## imm = 0x100000
	jb	LBB0_17
	jmp	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_decode_l32r_opcode
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$3, %ebx
	andl	$-4, %ebx
	subl	%ebx, %r14d
	cmpl	$-262144, %r14d                 ## imm = 0xFFFC0000
	jb	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	andl	$3, %r14d
	je	LBB0_17
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movslq	4(%r13,%r12,8), %rax
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	addq	%rax, %r8
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ELF32_R_TYPE
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ELF32_R_TYPE
	leaq	L_.str.1(%rip), %rdi
LBB0_12:
	xorl	%r14d, %r14d
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printk
LBB0_13:
	movq	_ENOEXEC@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_19
LBB0_18:
	xorl	%r14d, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ELF32_R_TYPE
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: relocation out of range, section %d reloc %d sym '%s'\n"

	.comm	_ENOEXEC,4,2                    ## @ENOEXEC
L_.str.1:                               ## @.str.1
	.asciz	"%s: unexpected FLIX relocation: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: unexpected ALT relocation: %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: unexpected relocation: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apply_relocate_add             ; -- Begin function apply_relocate_add
	.p2align	2
_apply_relocate_add:                    ; @apply_relocate_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	add	x26, x0, w3, uxtw #4
	ldr	w8, [x26, #4]!
	cmp	w8, #12
	b.hs	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_17
LBB0_2:
	mov	x22, x0
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x25, #0
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	mov	w8, w3
	ldur	x9, [x26, #4]
	add	x8, x0, x8, lsl #4
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	add	x8, x0, w2, uxtw #4
	add	x8, x8, #8
	stp	x4, x8, [sp, #32]               ; 16-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23]
	add	w8, w8, w27
	str	w8, [x23]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	ldrsw	x8, [x26]
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	umulh	x8, x8, x9
	cmp	x25, x8, lsr #3
	b.hs	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldrsw	x8, [x8]
	add	x8, x22, x8, lsl #4
	ldr	x23, [x8, #8]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	mov	w9, #12
	madd	x21, x25, x9, x8
	ldrsw	x27, [x21]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x20, [x8]
	mov	x19, x21
	ldr	w0, [x19, #8]!
	bl	_ELF32_R_SYM
	mov	x24, x0
	sbfiz	x8, x24, #3, #32
	ldr	w28, [x20, x8]
	ldr	w21, [x21, #4]
	ldr	w0, [x19]
	bl	_ELF32_R_TYPE
	sub	w8, w0, #128
	cmp	w8, #36
	b.hi	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, x27
	add	w27, w21, w28
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_3
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x24, w24
	mov	x0, x23
	bl	_decode_calln_opcode
	cbz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w23, #4
	and	w8, w8, #0xfffffffc
	sub	w8, w27, w8
	tst	w8, #0x3
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #128, lsl #12           ; =524288
	cmp	w8, #256, lsl #12               ; =1048576
	b.lo	LBB0_4
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_decode_l32r_opcode
	cbz	w0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w23, #3
	and	w8, w8, #0xfffffffc
	sub	w8, w27, w8
	and	w9, w8, #0x3
	cmn	w8, #64, lsl #12                ; =262144
	ccmp	w9, #0, #0, hs
	b.eq	LBB0_4
LBB0_12:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	add	x8, x20, x24, lsl #3
	ldrsw	x8, [x8, #4]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x8, x9, x8
	stp	x25, x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	b	LBB0_16
LBB0_13:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_ELF32_R_TYPE
	mov	x2, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_ELF32_R_TYPE
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_15:
	mov	x1, x20
LBB0_16:
	bl	_printk
Lloh8:
	adrp	x8, _ENOEXEC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOEXEC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_18:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_ELF32_R_TYPE
	mov	x2, x0
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: relocation out of range, section %d reloc %d sym '%s'\n"

	.comm	_ENOEXEC,4,2                    ; @ENOEXEC
l_.str.1:                               ; @.str.1
	.asciz	"%s: unexpected FLIX relocation: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: unexpected ALT relocation: %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: unexpected relocation: %u\n"

.subsections_via_symbols
