	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_grp_opt
_read_grp_opt:                          ## @read_grp_opt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_IoAdapters@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r9), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movq	_DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	leal	(%rbx,%r12), %ecx
	cmpl	%eax, %ecx
	jl	LBB0_2
## %bb.1:
	movl	$1, (%r13)
LBB0_2:
	subl	%r12d, %eax
	jge	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movslq	%r12d, %rcx
	addq	%rcx, %r15
	movq	%r15, (%r14)
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	%ebx, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IoAdapters,8,3                 ## @IoAdapters
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON,4,2 ## @DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON
L_.str.1:                               ## @.str.1
	.asciz	"1"

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

	.no_dead_strip	_read_grp_opt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_grp_opt
_read_grp_opt:                          ; @read_grp_opt
	.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
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _IoAdapters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IoAdapters@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x9, [x5]
	add	x8, x8, x9, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, l_.str.1@PAGE
Lloh7:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh8:
	adrp	x11, l_.str.2@PAGE
Lloh9:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w9, w8
	csel	x2, x11, x10, eq
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	add	w8, w19, w21
	cmp	w8, w0
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x23]
LBB0_2:
	subs	w8, w0, w21
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	add	x9, x22, w21, sxtw
	str	x9, [x20]
	cmp	w8, w19
	csel	w0, w8, w19, lt
LBB0_5:
	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
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IoAdapters,8,3                 ; @IoAdapters
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON,4,2 ; @DIVA_XDI_CAPI_CFG_1_GROUP_POPTIMIZATION_ON
l_.str.1:                               ; @.str.1
	.asciz	"1"

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

	.no_dead_strip	_read_grp_opt
.subsections_via_symbols
