	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bps_apply_patch
LCPI0_0:
	.quad	-1                              ## 0xffffffffffffffff
	.quad	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bps_apply_patch:                       ## @bps_apply_patch
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$19, %esi
	jge	LBB0_2
## %bb.1:
	movq	_PATCH_PATCH_TOO_SMALL@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_2:
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rdi, -160(%rbp)
	movq	%rdx, -152(%rbp)
	movq	(%r8), %rax
	movq	%rax, -144(%rbp)
	movl	%esi, -136(%rbp)
	movl	%ecx, -132(%rbp)
	movl	(%r9), %eax
	movl	%eax, -128(%rbp)
	movl	$0, -124(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = [18446744073709551615,0]
	movups	%xmm1, -120(%rbp)
	movups	%xmm1, -104(%rbp)
	movups	%xmm0, -72(%rbp)
	leaq	-160(%rbp), %rdi
	callq	_bps_read
	movq	_PATCH_PATCH_INVALID_HEADER@GOTPCREL(%rip), %rbx
	cmpq	$66, %rax
	jne	LBB0_25
## %bb.3:
	leaq	-160(%rbp), %rdi
	callq	_bps_read
	cmpq	$80, %rax
	jne	LBB0_25
## %bb.4:
	leaq	-160(%rbp), %rdi
	callq	_bps_read
	cmpq	$83, %rax
	jne	LBB0_25
## %bb.5:
	leaq	-160(%rbp), %rdi
	callq	_bps_read
	cmpq	$49, %rax
	jne	LBB0_25
## %bb.6:
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bps_decode
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bps_decode
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bps_decode
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	leaq	-160(%rbp), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_bps_read
	decq	%rbx
	jne	LBB0_8
LBB0_9:
	movslq	-132(%rbp), %rax
	cmpq	%rax, %r14
	jbe	LBB0_11
## %bb.10:
	movq	_PATCH_SOURCE_TOO_SMALL@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_11:
	movslq	-128(%rbp), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rax, %rbx
	jbe	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %r14
	movq	(%r12), %rdi
	callq	_free
	movq	%r14, -144(%rbp)
	movq	%r14, (%r12)
	movl	%ebx, -128(%rbp)
LBB0_15:
	movl	-136(%rbp), %eax
	addl	$-12, %eax
	cmpl	%eax, -124(%rbp)
	jge	LBB0_18
## %bb.16:
	leaq	-160(%rbp), %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bps_decode
	movl	-136(%rbp), %eax
	addl	$-12, %eax
	cmpl	%eax, -124(%rbp)
	jl	LBB0_17
LBB0_18:
	leaq	-160(%rbp), %r12
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %r14
	shlq	$8, %r14
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %rbx
	shlq	$16, %rbx
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %r13
	shlq	$24, %r13
	orq	%rbx, %r13
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	orq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	orq	%r13, %r14
	movq	-120(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_bps_read
	movq	%rax, %r12
	movq	-152(%rbp), %rsi
	movslq	-132(%rbp), %rdx
	xorl	%edi, %edi
	callq	_encoding_crc32
	cmpq	%r14, %rax
	jne	LBB0_19
## %bb.20:
	movq	%r13, %rdx
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-168(%rbp), %r13                ## 8-byte Reload
	movq	-104(%rbp), %rax
	notq	%rax
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	shlq	$24, %rdi
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	shlq	$16, %rcx
	orq	%rdi, %rcx
	shlq	$8, %rbx
	orq	-200(%rbp), %rbx                ## 8-byte Folded Reload
	orq	%rcx, %rbx
	cmpq	%rax, %rbx
	jne	LBB0_21
## %bb.22:
	shlq	$8, %r13
	orq	%rsi, %r13
	shlq	$16, %rdx
	shlq	$24, %r12
	orq	%rdx, %r12
	orq	%r13, %r12
	movq	%r8, %rdx
	notq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_23
## %bb.24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r15)
	movq	_PATCH_SUCCESS@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_19:
	movq	_PATCH_SOURCE_CHECKSUM_INVALID@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_21:
	movq	_PATCH_TARGET_CHECKSUM_INVALID@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_13:
	movq	_PATCH_TARGET_ALLOC_FAILED@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_23:
	movq	_PATCH_PATCH_CHECKSUM_INVALID@GOTPCREL(%rip), %rbx
LBB0_25:
	movl	(%rbx), %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATCH_PATCH_TOO_SMALL,4,2      ## @PATCH_PATCH_TOO_SMALL
	.comm	_PATCH_PATCH_INVALID_HEADER,4,2 ## @PATCH_PATCH_INVALID_HEADER
	.comm	_PATCH_SOURCE_TOO_SMALL,4,2     ## @PATCH_SOURCE_TOO_SMALL
	.comm	_PATCH_TARGET_ALLOC_FAILED,4,2  ## @PATCH_TARGET_ALLOC_FAILED
	.comm	_PATCH_SOURCE_CHECKSUM_INVALID,4,2 ## @PATCH_SOURCE_CHECKSUM_INVALID
	.comm	_PATCH_TARGET_CHECKSUM_INVALID,4,2 ## @PATCH_TARGET_CHECKSUM_INVALID
	.comm	_PATCH_PATCH_CHECKSUM_INVALID,4,2 ## @PATCH_PATCH_CHECKSUM_INVALID
	.comm	_PATCH_SUCCESS,4,2              ## @PATCH_SUCCESS
	.no_dead_strip	_bps_apply_patch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function bps_apply_patch
lCPI0_0:
	.quad	-1                              ; 0xffffffffffffffff
	.quad	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bps_apply_patch:                       ; @bps_apply_patch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	cmp	w1, #19
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PATCH_PATCH_TOO_SMALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATCH_PATCH_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_12
LBB0_2:
	mov	x19, x5
	mov	x21, x4
	stp	x0, x2, [sp, #24]
	ldr	x8, [x4]
	str	x8, [sp, #40]
	stp	w1, w3, [sp, #48]
	ldr	w8, [x5]
	stp	w8, wzr, [sp, #56]
	stp	xzr, xzr, [sp, #96]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stp	q0, q0, [sp, #64]
	stp	xzr, xzr, [sp, #112]
	add	x0, sp, #24
	bl	_bps_read
	cmp	x0, #66
	b.ne	LBB0_11
; %bb.3:
	add	x0, sp, #24
	bl	_bps_read
	cmp	x0, #80
	b.ne	LBB0_11
; %bb.4:
	add	x0, sp, #24
	bl	_bps_read
	cmp	x0, #83
	b.ne	LBB0_11
; %bb.5:
	add	x0, sp, #24
	bl	_bps_read
	cmp	x0, #49
	b.ne	LBB0_11
; %bb.6:
	add	x0, sp, #24
	bl	_bps_decode
	mov	x22, x0
	add	x0, sp, #24
	bl	_bps_decode
	mov	x20, x0
	add	x0, sp, #24
	bl	_bps_decode
	cbz	x0, LBB0_9
; %bb.7:
	mov	x23, x0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	bl	_bps_read
	subs	x23, x23, #1
	b.ne	LBB0_8
LBB0_9:
	ldrsw	x8, [sp, #52]
	cmp	x22, x8
	b.ls	LBB0_13
; %bb.10:
Lloh4:
	adrp	x8, _PATCH_SOURCE_TOO_SMALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PATCH_SOURCE_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh6:
	adrp	x8, _PATCH_PATCH_INVALID_HEADER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PATCH_PATCH_INVALID_HEADER@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_13:
	ldrsw	x8, [sp, #56]
	cmp	x20, x8
	b.ls	LBB0_17
; %bb.14:
	mov	x0, x20
	bl	_malloc
	cbz	x0, LBB0_24
; %bb.15:
	mov	x22, x0
	ldr	x0, [x21]
	bl	_free
	str	x22, [sp, #40]
	str	x22, [x21]
	str	w20, [sp, #56]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	bl	_bps_decode
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #60]
	ldr	w9, [sp, #48]
	sub	w9, w9, #12
	add	x0, sp, #24
	cmp	w8, w9
	b.lt	LBB0_16
; %bb.18:
	bl	_bps_read
	mov	x25, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x26, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x27, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x21, x0
	add	x0, sp, #24
	bl	_bps_read
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	add	x0, sp, #24
	bl	_bps_read
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	add	x0, sp, #24
	bl	_bps_read
	str	x0, [sp]                        ; 8-byte Folded Spill
	add	x0, sp, #24
	bl	_bps_read
	mov	x24, x0
	orr	x8, x25, x26, lsl #8
	orr	x25, x8, x27, lsl #16
	ldr	x22, [sp, #64]
	add	x0, sp, #24
	bl	_bps_read
	mov	x23, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x26, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x27, x0
	add	x0, sp, #24
	bl	_bps_read
	mov	x28, x0
	orr	x21, x25, x21, lsl #24
	ldr	x1, [sp, #32]
	ldrsw	x2, [sp, #52]
	mov	w0, #0
	bl	_encoding_crc32
	cmp	x0, x21
	b.ne	LBB0_22
; %bb.19:
	ldr	x8, [sp, #80]
	mvn	x8, x8
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	orr	x9, x9, x10, lsl #8
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	orr	x9, x9, x10, lsl #16
	orr	x9, x9, x24, lsl #24
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.20:
	orr	x8, x23, x26, lsl #8
	orr	x8, x8, x27, lsl #16
	orr	x8, x8, x28, lsl #24
	mvn	x9, x22
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.21:
	str	w20, [x19]
Lloh8:
	adrp	x8, _PATCH_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PATCH_SUCCESS@GOTPAGEOFF]
	b	LBB0_12
LBB0_22:
Lloh10:
	adrp	x8, _PATCH_SOURCE_CHECKSUM_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PATCH_SOURCE_CHECKSUM_INVALID@GOTPAGEOFF]
	b	LBB0_12
LBB0_23:
Lloh12:
	adrp	x8, _PATCH_TARGET_CHECKSUM_INVALID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PATCH_TARGET_CHECKSUM_INVALID@GOTPAGEOFF]
	b	LBB0_12
LBB0_24:
Lloh14:
	adrp	x8, _PATCH_TARGET_ALLOC_FAILED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PATCH_TARGET_ALLOC_FAILED@GOTPAGEOFF]
	b	LBB0_12
LBB0_25:
Lloh16:
	adrp	x8, _PATCH_PATCH_CHECKSUM_INVALID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PATCH_PATCH_CHECKSUM_INVALID@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PATCH_PATCH_TOO_SMALL,4,2      ; @PATCH_PATCH_TOO_SMALL
	.comm	_PATCH_PATCH_INVALID_HEADER,4,2 ; @PATCH_PATCH_INVALID_HEADER
	.comm	_PATCH_SOURCE_TOO_SMALL,4,2     ; @PATCH_SOURCE_TOO_SMALL
	.comm	_PATCH_TARGET_ALLOC_FAILED,4,2  ; @PATCH_TARGET_ALLOC_FAILED
	.comm	_PATCH_SOURCE_CHECKSUM_INVALID,4,2 ; @PATCH_SOURCE_CHECKSUM_INVALID
	.comm	_PATCH_TARGET_CHECKSUM_INVALID,4,2 ; @PATCH_TARGET_CHECKSUM_INVALID
	.comm	_PATCH_PATCH_CHECKSUM_INVALID,4,2 ; @PATCH_PATCH_CHECKSUM_INVALID
	.comm	_PATCH_SUCCESS,4,2              ; @PATCH_SUCCESS
	.no_dead_strip	_bps_apply_patch
.subsections_via_symbols
