	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_B
_emit_B:                                ## @emit_B
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MAXARG_S@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_2
## %bb.1:
	movq	(%rbx), %rdx
	cmpq	%rax, %rdx
	jb	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_codegen_error
	movq	(%rbx), %rdx
LBB0_3:
	cmpq	%r15, %rdx
	jbe	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_12
LBB0_5:
	addq	%rdx, %rdx
	movq	%rdx, (%rbx)
	movq	(%r12), %rax
	cmpq	%rax, %rdx
	cmovaeq	%rax, %rdx
	movq	%rdx, (%rbx)
	movq	8(%rbx), %rsi
	shll	$3, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_codegen_realloc
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.6:
	movl	(%rbx), %edx
	shll	$3, %edx
	movq	%rbx, %rdi
	callq	_codegen_realloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:
	movq	24(%rbx), %rcx
	testq	%r15, %r15
	je	LBB0_11
## %bb.9:
	testq	%rcx, %rcx
	jg	LBB0_11
## %bb.10:
	movq	-8(%rax,%r15,8), %rcx
LBB0_11:
	movq	%rcx, (%rax,%r15,8)
LBB0_12:
	movq	8(%rbx), %rax
	movq	%r14, (%rax,%r15,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXARG_S,8,3                   ## @MAXARG_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too big code block"

	.no_dead_strip	_emit_B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_B
_emit_B:                                ; @emit_B
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _MAXARG_S@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAXARG_S@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x9, x1
	b.ls	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	cmp	x8, x9
	b.lo	LBB0_3
LBB0_2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_codegen_error
	ldr	x8, [x21]
LBB0_3:
	cmp	x8, x20
	b.ls	LBB0_5
; %bb.4:
	ldr	x0, [x21, #16]
	cbnz	x0, LBB0_7
	b	LBB0_11
LBB0_5:
	lsl	x8, x8, #1
	str	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	csel	x8, x8, x9, lo
	str	x8, [x21]
	ldr	x1, [x21, #8]
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_codegen_realloc
	str	x0, [x21, #8]
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_11
; %bb.6:
	ldr	w8, [x21]
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_codegen_realloc
	str	x0, [x21, #16]
	cbz	x0, LBB0_11
LBB0_7:
	ldr	x8, [x21, #24]
	cbz	x20, LBB0_10
; %bb.8:
	cmp	x8, #0
	b.gt	LBB0_10
; %bb.9:
	add	x8, x0, x20, lsl #3
	ldur	x8, [x8, #-8]
LBB0_10:
	str	x8, [x0, x20, lsl #3]
LBB0_11:
	ldr	x8, [x21, #8]
	str	x19, [x8, x20, lsl #3]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXARG_S,8,3                   ; @MAXARG_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too big code block"

	.no_dead_strip	_emit_B
.subsections_via_symbols
