	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_active_module           ## -- Begin function update_active_module
	.p2align	4, 0x90
_update_active_module:                  ## @update_active_module
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_COLOR_ACTIVE_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_color
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_module_to_label
	movq	%rax, %rbx
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getmaxx
	movl	%eax, %r12d
	movq	_T_ACTIVE_PANEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_snprintf
	leaq	1(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r13
	movq	_T_ACTIVE_PANEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_sprintf
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$30, %edx
	callq	_wmove
	movl	(%r15), %ebx
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_COLOR_PAIR
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wattron
	movq	%r13, %rdi
	callq	_strlen
	notl	%eax
	addl	%eax, %r12d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movq	%r13, %r8
	callq	_mvwprintw
	movl	(%r15), %ebx
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_COLOR_PAIR
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wattroff
	movq	%r14, %rdi
	callq	_wrefresh
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_ACTIVE_LABEL,4,2         ## @COLOR_ACTIVE_LABEL
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_T_ACTIVE_PANEL,8,3             ## @T_ACTIVE_PANEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_active_module           ; -- Begin function update_active_module
	.p2align	2
_update_active_module:                  ; @update_active_module
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _COLOR_ACTIVE_LABEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLOR_ACTIVE_LABEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_color
	mov	x20, x0
	mov	x0, x21
	bl	_module_to_label
	mov	x22, x0
Lloh3:
	adrp	x8, _stdscr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_getmaxx
	mov	x23, x0
Lloh6:
	adrp	x24, _T_ACTIVE_PANEL@GOTPAGE
Lloh7:
	ldr	x24, [x24, _T_ACTIVE_PANEL@GOTPAGEOFF]
	ldr	x2, [x24]
	mov	x0, #0
	mov	w1, #0
	mov	x3, x22
	bl	_snprintf
	add	x0, x0, #1
	bl	_xmalloc
	mov	x21, x0
	ldr	x1, [x24]
	mov	x2, x22
	bl	_sprintf
	mov	x0, x19
	mov	w1, #0
	mov	w2, #30
	bl	_wmove
	ldr	w22, [x20]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_COLOR_PAIR
	orr	w1, w0, w22
	mov	x0, x19
	bl	_wattron
	mov	x0, x21
	bl	_strlen
	mvn	w8, w0
	add	w2, w23, w8
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x4, x21
	bl	_mvwprintw
	ldr	w22, [x20]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_COLOR_PAIR
	orr	w1, w0, w22
	mov	x0, x19
	bl	_wattroff
	mov	x0, x19
	bl	_wrefresh
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_free
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_ACTIVE_LABEL,4,2         ; @COLOR_ACTIVE_LABEL
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_T_ACTIVE_PANEL,8,3             ; @T_ACTIVE_PANEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
