	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc7_prep
_mc7_prep:                              ## @mc7_prep
	.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
	movq	%rsi, %rbx
	movq	%rdi, 24(%rsi)
	movq	%rcx, (%rsi)
	movl	%edx, %esi
	movq	_MC7_PMRX_BASE_ADDR@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%rsi, 16(%rbx)
	movq	_A_MC7_CFG@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_t3_read_reg
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_G_DEN
	movq	%rax, %rcx
	movq	_M_DEN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_mc7_calc_size
LBB0_2:
	movl	%eax, 12(%rbx)
	movl	%r14d, %edi
	callq	_G_WIDTH
	movl	%eax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC7_PMRX_BASE_ADDR,8,3         ## @MC7_PMRX_BASE_ADDR
	.comm	_A_MC7_CFG,8,3                  ## @A_MC7_CFG
	.comm	_M_DEN,8,3                      ## @M_DEN
	.no_dead_strip	_mc7_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc7_prep
_mc7_prep:                              ; @mc7_prep
	.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
	mov	x19, x1
	str	x3, [x1]
	mov	w8, w2
Lloh0:
	adrp	x9, _MC7_PMRX_BASE_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MC7_PMRX_BASE_ADDR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _A_MC7_CFG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _A_MC7_CFG@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	sub	x8, x8, x9
	add	x1, x10, x8
	stp	x8, x0, [x19, #16]
	bl	_t3_read_reg
	mov	x20, x0
	bl	_G_DEN
Lloh6:
	adrp	x8, _M_DEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_DEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_mc7_calc_size
LBB0_3:
	str	w0, [x19, #12]
	mov	x0, x20
	bl	_G_WIDTH
	str	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MC7_PMRX_BASE_ADDR,8,3         ; @MC7_PMRX_BASE_ADDR
	.comm	_A_MC7_CFG,8,3                  ; @A_MC7_CFG
	.comm	_M_DEN,8,3                      ; @M_DEN
	.no_dead_strip	_mc7_prep
.subsections_via_symbols
