	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_dialogrc                 ## -- Begin function parse_dialogrc
	.p2align	4, 0x90
_parse_dialogrc:                        ## @parse_dialogrc
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %r14
	movq	_ENV_DIALOGRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rax, %rcx
	jmp	LBB0_11
LBB0_3:
	movq	_ENV_HOME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rax, %rcx
	callq	_snprintf
	movq	%r14, %rdi
	callq	_strlen
	addq	%rax, %rbx
	movslq	(%r15), %rsi
	leaq	-1(%rsi), %rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	cmpq	%rcx, %rax
	jae	LBB0_9
## %bb.7:
	cmpb	$47, -1(%rbx)
	je	LBB0_9
## %bb.8:
	movw	$47, (%rbx)
	incq	%rbx
	incq	%rax
	jmp	LBB0_9
LBB0_15:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r14d
	jmp	LBB0_13
LBB0_5:
	xorl	%eax, %eax
LBB0_9:
	cmpq	%rcx, %rax
	jae	LBB0_12
## %bb.10:
	subl	%eax, %esi
	movq	_DIALOGRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_11:
	callq	_snprintf
LBB0_12:
	movq	_dialogrc_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FIGPAR_BREAK_ON_EQUALS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_parse_config
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_dialogrc_config_option
	movl	8(%rax), %eax
	movq	_use_shadow@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.2(%rip), %rdi
	callq	_dialogrc_config_option
	movl	8(%rax), %eax
	movq	_use_colors@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_gauge_color@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_STR_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_dialogrc_config_option
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_snprintf
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_16
## %bb.14:
	movl	%r14d, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_ENV_DIALOGRC,4,2               ## @ENV_DIALOGRC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_ENV_HOME,4,2                   ## @ENV_HOME
	.comm	_DIALOGRC,8,3                   ## @DIALOGRC
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_errno,4,2                      ## @errno
	.comm	_dialogrc_config,4,2            ## @dialogrc_config
	.comm	_FIGPAR_BREAK_ON_EQUALS,4,2     ## @FIGPAR_BREAK_ON_EQUALS
L_.str.1:                               ## @.str.1
	.asciz	"use_shadow"

	.comm	_use_shadow,4,2                 ## @use_shadow
L_.str.2:                               ## @.str.2
	.asciz	"use_colors"

	.comm	_use_colors,4,2                 ## @use_colors
	.comm	_gauge_color,8,3                ## @gauge_color
	.comm	_STR_BUFSIZE,4,2                ## @STR_BUFSIZE
L_.str.3:                               ## @.str.3
	.asciz	"gauge_color"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_dialogrc                 ; -- Begin function parse_dialogrc
	.p2align	2
_parse_dialogrc:                        ; @parse_dialogrc
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PATH_MAX@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x8, _ENV_DIALOGRC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENV_DIALOGRC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.1:
	mov	x3, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w1, [x20]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_10
LBB0_3:
Lloh12:
	adrp	x8, _ENV_HOME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENV_HOME@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_getenv
	cbz	x0, LBB0_12
; %bb.4:
	mov	x3, x0
	ldr	w1, [x20]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snprintf
	mov	x0, x19
	bl	_strlen
	mov	x8, x0
	add	x0, x19, x0
	ldrsw	x9, [x20]
	sub	x10, x9, #1
	cbz	x8, LBB0_8
; %bb.5:
	cmp	x8, x10
	b.hs	LBB0_8
; %bb.6:
	ldurb	w11, [x0, #-1]
	cmp	w11, #47
	b.eq	LBB0_8
; %bb.7:
	mov	w11, #47
	strh	w11, [x0], #1
	add	x8, x8, #1
LBB0_8:
	cmp	x8, x10
	b.hs	LBB0_11
; %bb.9:
	sub	w1, w9, w8
Lloh17:
	adrp	x8, _DIALOGRC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIALOGRC@GOTPAGEOFF]
Lloh19:
	ldr	x3, [x8]
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
LBB0_10:
	bl	_snprintf
LBB0_11:
Lloh22:
	adrp	x8, _dialogrc_config@GOTPAGE
Lloh23:
	ldr	x8, [x8, _dialogrc_config@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _FIGPAR_BREAK_ON_EQUALS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FIGPAR_BREAK_ON_EQUALS@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_parse_config
	mov	x19, x0
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dialogrc_config_option
	ldr	w8, [x0, #8]
Lloh30:
	adrp	x9, _use_shadow@GOTPAGE
Lloh31:
	ldr	x9, [x9, _use_shadow@GOTPAGEOFF]
Lloh32:
	str	w8, [x9]
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dialogrc_config_option
	ldr	w8, [x0, #8]
Lloh35:
	adrp	x9, _use_colors@GOTPAGE
Lloh36:
	ldr	x9, [x9, _use_colors@GOTPAGEOFF]
Lloh37:
	str	w8, [x9]
Lloh38:
	adrp	x8, _gauge_color@GOTPAGE
Lloh39:
	ldr	x8, [x8, _gauge_color@GOTPAGEOFF]
Lloh40:
	ldr	x20, [x8]
Lloh41:
	adrp	x8, _STR_BUFSIZE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _STR_BUFSIZE@GOTPAGEOFF]
Lloh43:
	ldr	w21, [x8]
Lloh44:
	adrp	x0, l_.str.3@PAGE
Lloh45:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dialogrc_config_option
	ldr	x3, [x0]
Lloh46:
	adrp	x2, l_.str@PAGE
Lloh47:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_snprintf
	b	LBB0_13
LBB0_12:
Lloh48:
	adrp	x8, _ENOENT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _errno@GOTPAGE
Lloh52:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh53:
	str	w8, [x9]
	mov	w19, #-1
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh54:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh55:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #32
	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
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_ENV_DIALOGRC,4,2               ; @ENV_DIALOGRC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_ENV_HOME,4,2                   ; @ENV_HOME
	.comm	_DIALOGRC,8,3                   ; @DIALOGRC
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_errno,4,2                      ; @errno
	.comm	_dialogrc_config,4,2            ; @dialogrc_config
	.comm	_FIGPAR_BREAK_ON_EQUALS,4,2     ; @FIGPAR_BREAK_ON_EQUALS
l_.str.1:                               ; @.str.1
	.asciz	"use_shadow"

	.comm	_use_shadow,4,2                 ; @use_shadow
l_.str.2:                               ; @.str.2
	.asciz	"use_colors"

	.comm	_use_colors,4,2                 ; @use_colors
	.comm	_gauge_color,8,3                ; @gauge_color
	.comm	_STR_BUFSIZE,4,2                ; @STR_BUFSIZE
l_.str.3:                               ; @.str.3
	.asciz	"gauge_color"

.subsections_via_symbols
