	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_bitmask_string
_gen_bitmask_string:                    ## @gen_bitmask_string
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%r9d, %ebx
	movq	%r8, %r13
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movslq	%esi, %r15
	movl	$1, %r14d
	xorl	%edx, %edx
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	orq	%r14, -64(%rbp)                 ## 8-byte Folded Spill
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	addq	%r14, %r14
	testl	%edi, %edi
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edi, %rcx
	testq	%rcx, %r14
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %ecx
	notl	%ecx
	andl	%ecx, %edi
	movl	%r12d, %ecx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi,%rcx,8), %r9
	testq	%r9, %r9
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rcx
	testq	%r15, %r14
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rsi, %r8
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rax, %r8
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_scnprintf
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	addq	%rcx, %r13
	subl	%eax, %ebx
	addl	%eax, %edx
	movl	$1, %eax
	jmp	LBB0_7
LBB0_8:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	testq	%r8, %r8
	je	LBB0_17
## %bb.9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rcx
	movl	%edx, %r14d
	leaq	L_.str.5(%rip), %rdx
LBB0_15:
	movq	%r13, %rdi
	movl	%ebx, %esi
	jmp	LBB0_16
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_17
LBB0_11:
	andq	%r8, %r15
	je	LBB0_13
## %bb.12:
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rcx
	movl	%edx, %r14d
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r15, %r8
LBB0_16:
	xorl	%eax, %eax
	callq	_scnprintf
	movl	%r14d, %edx
	addl	%eax, %edx
LBB0_17:
	movl	%edx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	notl	%ecx
	movslq	%ecx, %rcx
	andq	%rcx, %r8
	je	LBB0_17
## %bb.14:
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rcx
	movl	%edx, %r14d
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s%s"

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

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"+"

L_.str.4:                               ## @.str.4
	.asciz	"-"

L_.str.5:                               ## @.str.5
	.asciz	"%s0x%lx"

L_.str.6:                               ## @.str.6
	.asciz	"%s+0x%lx"

	.no_dead_strip	_gen_bitmask_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_bitmask_string
_gen_bitmask_string:                    ; @gen_bitmask_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
	cbz	w0, LBB0_10
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x24, x3
	mov	x23, x2
	mov	x25, x0
	mov	w19, #0
	mov	w8, #0
	mov	x27, #0
	mov	w26, #0
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	sxtw	x28, w1
	mov	w22, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	orr	x27, x27, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	lsl	x22, x22, #1
	cbz	w25, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w25
	tst	x22, x9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bic	w25, w25, w22
	ldr	x9, [x24, w26, uxtw #3]
	cbz	x9, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x3, x10, x8, eq
	tst	x22, x28
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x11, l_.str.4@PAGE
Lloh7:
	add	x11, x11, l_.str.4@PAGEOFF
	csel	x8, x11, x8, eq
	cmp	w23, #0
	csel	x8, x8, x10, eq
	stp	x8, x9, [sp]
	mov	x0, x21
	mov	x1, x20
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_scnprintf
	add	x21, x21, w0, uxtw
	sub	w20, w20, w0
	add	w19, w0, w19
	mov	w8, #1
	b	LBB0_3
LBB0_7:
	cbz	x27, LBB0_15
; %bb.8:
	cbz	w23, LBB0_11
; %bb.9:
	cmp	w8, #0
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x9, x8, eq
	str	x27, [sp]
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_10:
	mov	w19, #0
	b	LBB0_15
LBB0_11:
	ands	x9, x27, x28
	b.ne	LBB0_13
; %bb.12:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	mvn	w9, w9
	sxtw	x9, w9
	ands	x9, x27, x9
	b.eq	LBB0_15
LBB0_13:
	cmp	w8, #0
Lloh16:
	adrp	x8, l_.str.1@PAGE
Lloh17:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh18:
	adrp	x10, l_.str.2@PAGE
Lloh19:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x3, x10, x8, eq
	str	x9, [sp]
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_scnprintf
	add	w19, w0, w19
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s%s"

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

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"+"

l_.str.4:                               ; @.str.4
	.asciz	"-"

l_.str.5:                               ; @.str.5
	.asciz	"%s0x%lx"

l_.str.6:                               ; @.str.6
	.asciz	"%s+0x%lx"

	.no_dead_strip	_gen_bitmask_string
.subsections_via_symbols
