	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_content
_patch_content:                         ## @patch_content
	.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
	xorl	%r15d, %r15d
	movl	%esi, %eax
	orl	%edi, %eax
	sete	%bl
	xorl	%r13d, %r13d
	movl	%edx, %eax
	orl	%edi, %eax
	sete	%r14b
	addl	%esi, %edi
	addl	%edx, %edi
	cmpl	$2, %edi
	jb	LBB0_2
## %bb.1:
	movq	_MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_WARN
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%r8, %r12
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	16(%rbp), %rbx
	xorl	%edi, %edi
	orl	%esi, %edx
	sete	%dil
	movq	%rcx, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_try_ips_patch
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movb	%r14b, %r13b
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	16(%rbp), %r12
	movq	%r12, %rdx
	movq	24(%rbp), %r14
	movq	%r14, %rcx
	callq	_try_bps_patch
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	movl	%r15d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_try_ups_patch
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_LOG
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED,4,2 ## @MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED
	.comm	_MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH,4,2 ## @MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH
	.no_dead_strip	_patch_content
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_content
_patch_content:                         ; @patch_content
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	orr	w8, w1, w0
	cmp	w8, #0
	cset	w22, eq
	orr	w8, w2, w0
	cmp	w8, #0
	cset	w24, eq
	add	w8, w1, w0
	add	w8, w8, w2
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_WARN
LBB0_2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x23, x4
	orr	w8, w2, w1
	cmp	w8, #0
	cset	w0, eq
	mov	x1, x3
	mov	x2, x6
	mov	x3, x7
	bl	_try_ips_patch
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
	mov	x3, x19
	bl	_try_bps_patch
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_try_ups_patch
	cbz	w0, LBB0_8
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh5:
	adrp	x8, _MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED,4,2 ; @MSG_SEVERAL_PATCHES_ARE_EXPLICITLY_DEFINED
	.comm	_MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH,4,2 ; @MSG_DID_NOT_FIND_A_VALID_CONTENT_PATCH
	.no_dead_strip	_patch_content
.subsections_via_symbols
