	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atm_pcr_goal                   ## -- Begin function atm_pcr_goal
	.p2align	4, 0x90
_atm_pcr_goal:                          ## @atm_pcr_goal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	movq	_ATM_MAX_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	cmpl	%ecx, %edx
	je	LBB0_3
## %bb.2:
	negl	%edx
	movl	%edx, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	4(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	testl	%edx, %edx
	jne	LBB0_5
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	movl	8(%rdi), %edx
	movl	%edx, %esi
	negl	%esi
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	cmovnel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_MAX_PCR,4,2                ## @ATM_MAX_PCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atm_pcr_goal                   ; -- Begin function atm_pcr_goal
	.p2align	2
_atm_pcr_goal:                          ; @atm_pcr_goal
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
Lloh0:
	adrp	x8, _ATM_MAX_PCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATM_MAX_PCR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w10, #0
	ccmp	w10, w9, #4, ne
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, #0
	ccmp	w10, #0, #0, ne
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x0, #8]
	cmp	w8, w9
	csneg	w8, wzr, w8, eq
LBB0_3:
	mov	x0, x8
	ret
LBB0_4:
	neg	w0, w10
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_MAX_PCR,4,2                ; @ATM_MAX_PCR
.subsections_via_symbols
