	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_group_reloc_mask
_calculate_group_reloc_mask:            ## @calculate_group_reloc_mask
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	incl	%esi
	movl	$6, %r8d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$7, %ecx
	cmovll	%r8d, %ecx
	addl	$-6, %ecx
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$255, %eax
	shll	%cl, %eax
	andl	%edi, %eax
	xorl	%eax, %edi
	decl	%esi
	je	LBB0_23
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edi, %edi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$30, %ecx
	cmpl	$1073741823, %edi               ## imm = 0x3FFFFFFF
	ja	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$28, %ecx
	testl	$805306368, %edi                ## imm = 0x30000000
	jne	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$26, %ecx
	testl	$201326592, %edi                ## imm = 0xC000000
	jne	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$24, %ecx
	testl	$50331648, %edi                 ## imm = 0x3000000
	jne	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$22, %ecx
	testl	$12582912, %edi                 ## imm = 0xC00000
	jne	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$20, %ecx
	testl	$3145728, %edi                  ## imm = 0x300000
	jne	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$18, %ecx
	testl	$786432, %edi                   ## imm = 0xC0000
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$16, %ecx
	testl	$196608, %edi                   ## imm = 0x30000
	jne	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$14, %ecx
	testl	$49152, %edi                    ## imm = 0xC000
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$12, %ecx
	testl	$12288, %edi                    ## imm = 0x3000
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %ecx
	testl	$3072, %edi                     ## imm = 0xC00
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$8, %ecx
	testl	$768, %edi                      ## imm = 0x300
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$6, %ecx
	testb	$-64, %dil
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, %ecx
	testb	$48, %dil
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %ecx
	testb	$12, %dil
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	testb	$3, %dil
	setne	%al
	leal	(%rax,%rax), %ecx
	addl	$-2, %ecx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_22
LBB0_23:
	movl	%ecx, %r8d
	shll	$7, %r8d
	movl	$4096, %esi                     ## imm = 0x1000
	subl	%r8d, %esi
	andl	$32512, %esi                    ## imm = 0x7F00
	xorl	%r8d, %r8d
	cmpl	$256, %eax                      ## imm = 0x100
	cmovgel	%esi, %r8d
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	orl	%r8d, %eax
	jmp	LBB0_24
LBB0_1:
	xorl	%eax, %eax
LBB0_24:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calculate_group_reloc_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_group_reloc_mask
_calculate_group_reloc_mask:            ; @calculate_group_reloc_mask
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_38
; %bb.1:
	add	w8, w1, #1
	mov	w9, #255
	mov	w10, #-2
	mov	w11, #6
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w9, w12
	and	w13, w13, w0
	eor	w0, w13, w0
	subs	w8, w8, #1
	b.eq	LBB0_37
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsr	w12, w0, #30
	cbnz	w12, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x30000000
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #28
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #30
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, #6
	csel	w12, w12, w11, gt
	sub	w12, w12, #6
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc000000
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #26
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x3000000
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #24
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc00000
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #22
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x300000
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #20
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc0000
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #18
	b	LBB0_9
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x30000
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #16
	b	LBB0_9
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc000
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #14
	b	LBB0_9
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x3000
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #12
	b	LBB0_9
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc00
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #10
	b	LBB0_9
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x300
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #8
	b	LBB0_9
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc0
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #6
	b	LBB0_9
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x30
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #4
	b	LBB0_9
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0xc
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #2
	b	LBB0_9
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w0, #0x3
	csel	w12, w10, wzr, eq
	b	LBB0_9
LBB0_37:
	mov	w8, #4096
	sub	w8, w8, w12, lsl #7
	and	w8, w8, #0x7f00
	cmp	w13, #256
	csel	w8, wzr, w8, lt
	asr	w9, w13, w12
	orr	w8, w8, w9
	b	LBB0_39
LBB0_38:
	mov	w8, #0
LBB0_39:
	str	w0, [x2]
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calculate_group_reloc_mask
.subsections_via_symbols
