	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drv_init
_drv_init:                              ## @drv_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_AssertTCB
	movq	_initialize_color@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VALID_STRING
	movl	%eax, 80(%rbx)
	movq	_can_change@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	_max_colors@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_max_pairs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_set_foreground@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	je	LBB0_4
## %bb.3:
	movq	_set_background@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_7
LBB0_4:
	movq	_set_a_foreground@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	movq	_set_a_background@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	setne	%dl
	testb	%dl, %cl
	jne	LBB0_7
## %bb.5:
	movq	_set_color_pair@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_7
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_exit_ca_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	sete	%al
	movq	_non_rev_rmcup@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	movl	%eax, 8(%rbx)
	movq	_max_pairs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rax
LBB0_9:
	movq	%rax, 64(%rbx)
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%r14), %rax
LBB0_11:
	movq	%rax, 56(%rbx)
	movq	_num_labels@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	(%r14), %rax
LBB0_13:
	movq	%rax, 48(%rbx)
	movq	_label_width@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	(%r14), %rax
LBB0_15:
	movq	%rax, 40(%rbx)
	movq	_label_height@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	(%r14), %rax
LBB0_17:
	movq	%rax, 32(%rbx)
	movq	_no_color_video@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%r14), %rax
LBB0_19:
	movq	%rax, 24(%rbx)
	movq	_init_tabs@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_VALID_NUMERIC
	movl	$8, %ecx
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	(%r14), %ecx
LBB0_21:
	movl	%ecx, 12(%rbx)
	movq	_hue_lightness_saturation@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_22
## %bb.23:
	movq	__nc_cga_palette@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	movq	__nc_hls_palette@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	(%rbx), %edi
	callq	_isatty
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_initialize_color,4,2           ## @initialize_color
	.comm	_can_change,4,2                 ## @can_change
	.comm	_max_colors,8,3                 ## @max_colors
	.comm	_max_pairs,8,3                  ## @max_pairs
	.comm	_set_foreground,8,3             ## @set_foreground
	.comm	_set_background,8,3             ## @set_background
	.comm	_set_a_foreground,8,3           ## @set_a_foreground
	.comm	_set_a_background,8,3           ## @set_a_background
	.comm	_set_color_pair,8,3             ## @set_color_pair
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_exit_ca_mode,8,3               ## @exit_ca_mode
	.comm	_non_rev_rmcup,8,3              ## @non_rev_rmcup
	.comm	_num_labels,8,3                 ## @num_labels
	.comm	_label_width,8,3                ## @label_width
	.comm	_label_height,8,3               ## @label_height
	.comm	_no_color_video,8,3             ## @no_color_video
	.comm	_init_tabs,8,3                  ## @init_tabs
	.comm	_hue_lightness_saturation,8,3   ## @hue_lightness_saturation
	.comm	__nc_hls_palette,4,2            ## @_nc_hls_palette
	.comm	__nc_cga_palette,4,2            ## @_nc_cga_palette
	.no_dead_strip	_drv_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drv_init
_drv_init:                              ; @drv_init
	.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, x0
	bl	_AssertTCB
Lloh0:
	adrp	x8, _initialize_color@GOTPAGE
Lloh1:
	ldr	x8, [x8, _initialize_color@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_VALID_STRING
Lloh3:
	adrp	x8, _can_change@GOTPAGE
Lloh4:
	ldr	x8, [x8, _can_change@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #76]
Lloh6:
	adrp	x20, _max_colors@GOTPAGE
Lloh7:
	ldr	x20, [x20, _max_colors@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
Lloh8:
	adrp	x21, _max_pairs@GOTPAGE
Lloh9:
	ldr	x21, [x21, _max_pairs@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x0, [x21]
	bl	_VALID_NUMERIC
	cbz	x0, LBB0_5
; %bb.2:
Lloh10:
	adrp	x8, _set_foreground@GOTPAGE
Lloh11:
	ldr	x8, [x8, _set_foreground@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _set_background@GOTPAGE
Lloh14:
	ldr	x9, [x9, _set_background@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh16:
	adrp	x8, _set_a_foreground@GOTPAGE
Lloh17:
	ldr	x8, [x8, _set_a_foreground@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _set_a_background@GOTPAGE
Lloh20:
	ldr	x9, [x9, _set_a_background@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	x8, #0, #4, ne
Lloh22:
	adrp	x8, _set_color_pair@GOTPAGE
Lloh23:
	ldr	x8, [x8, _set_color_pair@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_5
LBB0_4:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh27:
	adrp	x8, _FALSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh29:
	adrp	x8, _exit_ca_mode@GOTPAGE
Lloh30:
	ldr	x8, [x8, _exit_ca_mode@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _non_rev_rmcup@GOTPAGE
Lloh33:
	ldr	x9, [x9, _non_rev_rmcup@GOTPAGEOFF]
	cmp	x8, #0
Lloh34:
	ldr	x8, [x9]
	ccmp	x8, #0, #4, ne
	cset	w8, eq
	str	w8, [x19, #8]
	ldr	x0, [x21]
	bl	_VALID_NUMERIC
	ldr	x8, [x21]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #64]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	x8, [x20]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #56]
Lloh35:
	adrp	x20, _num_labels@GOTPAGE
Lloh36:
	ldr	x20, [x20, _num_labels@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	x8, [x20]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #48]
Lloh37:
	adrp	x20, _label_width@GOTPAGE
Lloh38:
	ldr	x20, [x20, _label_width@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	x8, [x20]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #40]
Lloh39:
	adrp	x20, _label_height@GOTPAGE
Lloh40:
	ldr	x20, [x20, _label_height@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	x8, [x20]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #32]
Lloh41:
	adrp	x20, _no_color_video@GOTPAGE
Lloh42:
	ldr	x20, [x20, _no_color_video@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	x8, [x20]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19, #24]
Lloh43:
	adrp	x20, _init_tabs@GOTPAGE
Lloh44:
	ldr	x20, [x20, _init_tabs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_VALID_NUMERIC
	ldr	w8, [x20]
	cmp	x0, #0
	mov	w9, #8
	csel	w8, w9, w8, eq
	str	w8, [x19, #12]
Lloh45:
	adrp	x8, _hue_lightness_saturation@GOTPAGE
Lloh46:
	ldr	x8, [x8, _hue_lightness_saturation@GOTPAGEOFF]
Lloh47:
	adrp	x9, __nc_hls_palette@GOTPAGE
Lloh48:
	ldr	x9, [x9, __nc_hls_palette@GOTPAGEOFF]
Lloh49:
	adrp	x10, __nc_cga_palette@GOTPAGE
Lloh50:
	ldr	x10, [x10, __nc_cga_palette@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w0, [x19]
	bl	_isatty
	cbz	x0, LBB0_8
; %bb.7:
Lloh52:
	adrp	x8, _TRUE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	x3, [x9]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x1
	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
	br	x3
LBB0_8:
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh51
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_initialize_color,4,2           ; @initialize_color
	.comm	_can_change,4,2                 ; @can_change
	.comm	_max_colors,8,3                 ; @max_colors
	.comm	_max_pairs,8,3                  ; @max_pairs
	.comm	_set_foreground,8,3             ; @set_foreground
	.comm	_set_background,8,3             ; @set_background
	.comm	_set_a_foreground,8,3           ; @set_a_foreground
	.comm	_set_a_background,8,3           ; @set_a_background
	.comm	_set_color_pair,8,3             ; @set_color_pair
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_exit_ca_mode,8,3               ; @exit_ca_mode
	.comm	_non_rev_rmcup,8,3              ; @non_rev_rmcup
	.comm	_num_labels,8,3                 ; @num_labels
	.comm	_label_width,8,3                ; @label_width
	.comm	_label_height,8,3               ; @label_height
	.comm	_no_color_video,8,3             ; @no_color_video
	.comm	_init_tabs,8,3                  ; @init_tabs
	.comm	_hue_lightness_saturation,8,3   ; @hue_lightness_saturation
	.comm	__nc_hls_palette,4,2            ; @_nc_hls_palette
	.comm	__nc_cga_palette,4,2            ; @_nc_cga_palette
	.no_dead_strip	_drv_init
.subsections_via_symbols
