	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoPatchApply                 ## -- Begin function PicoPatchApply
	.p2align	4, 0x90
_PicoPatchApply:                        ## @PicoPatchApply
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PicoPatchCount@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_15
## %bb.1:
	movq	_PicoPatches@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	8(%rax), %r8
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r11,%rdx), %rcx
	addq	$4, %rcx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movzwl	(%rcx), %ecx
	movw	%cx, (%r8,%rsi)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%r9, %rax
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rax, %rdx
	shlq	$4, %rdx
	movl	(%r11,%rdx), %esi
	cmpl	%r10d, %esi
	jae	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r11,%rdx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%esi, (%rcx)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incq	%rdi
	addq	$16, %rcx
	cmpq	%rdi, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	jmp	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %ecx
	cmpq	%rax, %rcx
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r11,%rdx), %rcx
	addq	$6, %rcx
	jmp	LBB0_13
LBB0_15:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoPatchCount,4,2             ## @PicoPatchCount
	.comm	_PicoPatches,8,3                ## @PicoPatches
	.comm	_Pico,16,3                      ## @Pico
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoPatchApply                 ; -- Begin function PicoPatchApply
	.p2align	2
_PicoPatchApply:                        ; @PicoPatchApply
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PicoPatchCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoPatchCount@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x9, #0
Lloh3:
	adrp	x10, _PicoPatches@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PicoPatches@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x12, _Pico@GOTPAGE
Lloh7:
	ldr	x12, [x12, _Pico@GOTPAGEOFF]
	ldr	w11, [x12]
	ldr	x12, [x12, #8]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x14, x14, #4
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrh	w14, [x14]
	strh	w14, [x12, x13]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	lsl	x13, x9, #4
	ldr	w13, [x10, x13]
	cmp	w13, w11
	b.hs	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x14, x10, x9, lsl #4
	ldr	x15, [x14, #8]
	cbnz	x15, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, #0
	cbz	x9, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x15, x10
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w16, [x15]
	cmp	w16, w13
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x14, x14, #1
	add	x15, x15, #16
	cmp	x9, x14
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, x9
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x9, w14, uxtw
	b.ne	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x14, x10, x9, lsl #4
	add	x14, x14, #6
	b	LBB0_3
LBB0_14:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoPatchCount,4,2             ; @PicoPatchCount
	.comm	_PicoPatches,8,3                ; @PicoPatches
	.comm	_Pico,16,3                      ; @Pico
.subsections_via_symbols
