	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mask_append
_mask_append:                           ## @mask_append
	.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	%rdx, %rbx
	movq	%rsi, %rcx
	movq	%rdi, %r14
	movq	(%rdi), %r13
	cmpl	$1, (%r13)
	jne	LBB0_13
## %bb.1:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %r15
	movl	16(%r15), %esi
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_mp_get_length
	movq	8(%r13), %r14
	movq	16(%r13), %rdi
	movq	%rax, %rsi
	callq	_MIN
	movq	24(%r13), %rdx
	movq	_ATTACK_MODE_BF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rsi
	movq	8(%r15), %r15
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_MAX
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_MIN
LBB0_3:
	cmpq	%rax, %r14
	jg	LBB0_12
## %bb.4:
	incq	%rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$256, %edi                      ## imm = 0x100
	callq	_hcmalloc
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	cltq
	movq	%r15, %r13
	addq	%rax, %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %r13
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_mp_get_truncated_mask
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mask_append_final
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_hcfree
	cmpl	$-1, %ebx
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%r14, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_7
	jmp	LBB0_12
LBB0_13:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:
	movq	$0, -48(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_hc_asprintf
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_mask_append_final
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_hcfree
	cmpl	$-1, %ebx
	jne	LBB0_12
	jmp	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	movq	%rcx, %rsi
	callq	_mask_append_final
	cmpl	$-1, %eax
	jne	LBB0_12
LBB0_16:
	movl	$-1, %eax
	jmp	LBB0_17
LBB0_11:
	movq	%r15, %rdi
	callq	_hcfree
LBB0_12:
	xorl	%eax, %eax
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTACK_MODE_BF,8,3             ## @ATTACK_MODE_BF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,"

L_.str.1:                               ## @.str.1
	.asciz	"%s,%s"

	.no_dead_strip	_mask_append
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mask_append
_mask_append:                           ; @mask_append
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x25, [x0]
	ldr	w8, [x25]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.1:
	ldr	x24, [x19, #8]
	ldr	w1, [x24, #16]
	mov	x0, x20
	bl	_mp_get_length
	mov	x1, x0
	ldp	x22, x0, [x25, #8]
	bl	_MIN
	mov	x23, x0
	ldr	x8, [x25, #24]
Lloh0:
	adrp	x9, _ATTACK_MODE_BF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATTACK_MODE_BF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldp	x1, x24, [x24]
	mov	x0, x22
	bl	_MAX
	mov	x22, x0
	mov	x0, x23
	mov	x1, x24
	bl	_MIN
	mov	x23, x0
LBB0_3:
	cmp	x22, x23
	b.gt	LBB0_16
; %bb.4:
	add	x26, x23, #1
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #256
	bl	_hcmalloc
	mov	x24, x0
	cbz	x21, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	w1, #256
	mov	x2, x23
	mov	x3, x21
	bl	_snprintf
	add	x25, x24, w0, sxtw
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x24
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	mov	x4, x25
	bl	_mp_get_truncated_mask
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_mask_append_final
	mov	x25, x0
	mov	x0, x24
	bl	_hcfree
	cmn	w25, #1
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x26, x22
	b.ne	LBB0_5
	b	LBB0_16
LBB0_11:
	cbz	x21, LBB0_14
; %bb.12:
	str	xzr, [sp, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x2, x21
	mov	x3, x20
	bl	_hc_asprintf
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_mask_append_final
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_hcfree
	cmn	w19, #1
	b.ne	LBB0_16
LBB0_13:
	mov	w0, #-1
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_mask_append_final
	cmn	w0, #1
	b.ne	LBB0_16
	b	LBB0_17
LBB0_15:
	mov	x0, x24
	bl	_hcfree
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTACK_MODE_BF,8,3             ; @ATTACK_MODE_BF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,"

l_.str.1:                               ; @.str.1
	.asciz	"%s,%s"

	.no_dead_strip	_mask_append
.subsections_via_symbols
