	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpaphp_check_drc_props_v2
_rpaphp_check_drc_props_v2:             ## @rpaphp_check_drc_props_v2
	.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, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_DRC_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_of_find_property
	movq	%rax, -104(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-52(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_of_prop_next_u32
	movq	%rax, -96(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, -52(%rbp)
	je	LBB0_8
## %bb.4:
	xorl	%r15d, %r15d
	leaq	-104(%rbp), %rbx
	leaq	-96(%rbp), %r14
	leaq	-128(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_of_read_drc_info_cell
	cmpl	%r13d, -128(%rbp)
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	cmpl	-52(%rbp), %r15d
	jb	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	-120(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_sprintf
LBB0_8:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.11:
	movq	-112(%rbp), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DRC_NAME_LEN,4,2           ## @MAX_DRC_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ibm,drc-info"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%s%d"

	.no_dead_strip	_rpaphp_check_drc_props_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpaphp_check_drc_props_v2
_rpaphp_check_drc_props_v2:             ; @rpaphp_check_drc_props_v2
	.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
	sub	sp, sp, #64
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_DRC_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_DRC_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w0, [x0]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_of_find_property
	stur	x0, [x29, #-64]
	cbz	x0, LBB0_11
; %bb.1:
	sub	x2, x29, #68
	mov	x1, #0
	bl	_of_prop_next_u32
	stur	x0, [x29, #-104]
	cbz	x0, LBB0_11
; %bb.2:
	ldur	w8, [x29, #-68]
	cbz	w8, LBB0_6
; %bb.3:
	mov	w24, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #64
	sub	x1, x29, #104
	sub	x2, x29, #96
	bl	_of_read_drc_info_cell
	ldur	w8, [x29, #-96]
	cmp	w8, w21
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldur	w8, [x29, #-68]
	cmp	w24, w8
	b.lo	LBB0_4
LBB0_6:
	cbnz	x20, LBB0_8
	b	LBB0_9
LBB0_7:
	ldur	x2, [x29, #-88]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x3, x21
	bl	_sprintf
	cbz	x20, LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_11
LBB0_9:
	cbz	x19, LBB0_14
; %bb.10:
	ldur	x1, [x29, #-80]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	mov	sp, x23
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	sub	sp, x29, #48
	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_14:
	mov	w0, #0
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DRC_NAME_LEN,4,2           ; @MAX_DRC_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ibm,drc-info"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%s%d"

	.no_dead_strip	_rpaphp_check_drc_props_v2
.subsections_via_symbols
