	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_rmpp_data_mad
_is_rmpp_data_mad:                      ## @is_rmpp_data_mad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %ebx
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	callq	_ib_mad_kernel_rmpp_agent
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_ib_get_rmpp_flags
	movq	_IB_MGMT_RMPP_FLAG_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movq	_IB_MGMT_RMPP_TYPE_DATA@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ## @IB_MGMT_RMPP_FLAG_ACTIVE
	.comm	_IB_MGMT_RMPP_TYPE_DATA,8,3     ## @IB_MGMT_RMPP_TYPE_DATA
	.no_dead_strip	_is_rmpp_data_mad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_rmpp_data_mad
_is_rmpp_data_mad:                      ; @is_rmpp_data_mad
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	bl	_ib_mad_kernel_rmpp_agent
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ib_get_rmpp_flags
Lloh0:
	adrp	x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _IB_MGMT_RMPP_TYPE_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_MGMT_RMPP_TYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ; @IB_MGMT_RMPP_FLAG_ACTIVE
	.comm	_IB_MGMT_RMPP_TYPE_DATA,8,3     ; @IB_MGMT_RMPP_TYPE_DATA
	.no_dead_strip	_is_rmpp_data_mad
.subsections_via_symbols
