	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function con_unify_unimap
_con_unify_unimap:                      ## @con_unify_unimap
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_MAX_NR_CONSOLES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_15
## %bb.1:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$32, %r13d
	movq	_MAX_NR_CONSOLES@GOTPCREL(%rip), %r14
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_20
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movl	%ebx, %edi
	callq	_vc_cons_allocated
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_vc_cons@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r13
	cmpq	$32, %r13
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_20
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax,%r13,8), %r12
	movq	16(%rdx), %rax
	movq	(%rax,%r13,8), %r15
	movq	%r12, %rax
	orq	%r15, %rax
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	testq	%r12, %r12
	movq	_MAX_NR_CONSOLES@GOTPCREL(%rip), %r14
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	testq	%r15, %r15
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=3
	testq	%rsi, %rsi
	jne	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=3
	incq	%r14
	cmpq	$32, %r14
	je	LBB0_19
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r12,%r14,8), %rdi
	movq	(%r15,%r14,8), %rsi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=3
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=3
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_18
	jmp	LBB0_13
LBB0_15:
	xorl	%eax, %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	incl	8(%rdx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rdx, (%rax)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_con_release_unimap
	movq	%rbx, %rdi
	callq	_kfree
	movl	$1, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NR_CONSOLES,4,2            ## @MAX_NR_CONSOLES
	.comm	_vc_cons,8,3                    ## @vc_cons
	.no_dead_strip	_con_unify_unimap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function con_unify_unimap
_con_unify_unimap:                      ; @con_unify_unimap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _MAX_NR_CONSOLES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_NR_CONSOLES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
Lloh2:
	adrp	x23, _vc_cons@GOTPAGE
Lloh3:
	ldr	x23, [x23, _vc_cons@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #32
	b.eq	LBB0_19
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
	mov	x0, x21
	bl	_vc_cons_allocated
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldr	x24, [x8]
	cmp	x24, #0
	ccmp	x24, x19, #4, ne
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x25, x25, #1
	cmp	x25, #32
	b.eq	LBB0_19
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
	ldr	x8, [x19, #16]
	lsl	x9, x25, #3
	ldr	x26, [x8, x9]
	ldr	x8, [x24, #16]
	ldr	x27, [x8, x9]
	orr	x8, x26, x27
	cbz	x8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	x26, #0
	ccmp	x27, #0, #4, ne
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x28, #0
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=3
	cbnz	x1, LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=3
	add	x28, x28, #8
	cmp	x28, #256
	b.eq	LBB0_8
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x26, x28]
	ldr	x1, [x27, x28]
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	cbz	x1, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=3
	mov	w2, #256
	bl	_memcmp
	cbz	x0, LBB0_13
	b	LBB0_2
LBB0_17:
	mov	w0, #0
LBB0_18:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	w8, [x24, #8]
	add	w8, w8, #1
	str	w8, [x24, #8]
	ldr	x8, [x20]
	str	x24, [x8]
	mov	x0, x19
	bl	_con_release_unimap
	mov	x0, x19
	bl	_kfree
	mov	w0, #1
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NR_CONSOLES,4,2            ; @MAX_NR_CONSOLES
	.comm	_vc_cons,8,3                    ; @vc_cons
	.no_dead_strip	_con_unify_unimap
.subsections_via_symbols
