	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_dyn_flag
_check_dyn_flag:                        ## @check_dyn_flag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rbx
	movl	16(%rbp), %eax
	movl	%r9d, %ecx
	testl	%r9d, %r9d
	je	LBB0_2
## %bb.1:
	movq	_CR_DYN_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edi, %eax
	je	LBB0_4
## %bb.3:
	movq	24(%rbp), %r10
	movslq	(%rbx), %rcx
	addq	%rcx, %rsi
	subl	%ecx, %edx
	cmpl	%r9d, %r8d
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rcx, %rdi
	movq	%rdi, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	movl	%r9d, %r8d
	movq	%r10, %r9
	callq	_scnprintf
	addl	%eax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR_DYN_SHIFT,4,2               ## @CR_DYN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  0x%08x - HFI%d %s in use, %s device\n"

L_.str.1:                               ## @.str.1
	.asciz	"this"

L_.str.2:                               ## @.str.2
	.asciz	"other"

	.no_dead_strip	_check_dyn_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_dyn_flag
_check_dyn_flag:                        ; @check_dyn_flag
	.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, x3
Lloh0:
	adrp	x8, _CR_DYN_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CR_DYN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w5, #0
	csel	w8, wzr, w8, eq
	lsl	w3, w6, w8
	tst	w3, w0
	b.eq	LBB0_2
; %bb.1:
	ldrsw	x8, [x19]
	add	x0, x1, x8
	sub	w1, w2, w8
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w4, w5
	csel	x6, x9, x8, eq
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x5
	mov	x5, x7
	bl	_scnprintf
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
LBB0_2:
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CR_DYN_SHIFT,4,2               ; @CR_DYN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  0x%08x - HFI%d %s in use, %s device\n"

l_.str.1:                               ; @.str.1
	.asciz	"this"

l_.str.2:                               ; @.str.2
	.asciz	"other"

	.no_dead_strip	_check_dyn_flag
.subsections_via_symbols
