	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function button_code
_button_code:                           ## @button_code
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_DLG_EXIT_ERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	leaq	L_.str(%rip), %rsi
	callq	_dlg_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlg_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlg_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlg_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlg_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlg_strcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.16:
	movl	$5, %eax
	jmp	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_2
LBB0_8:
	movl	$1, %eax
	jmp	LBB0_2
LBB0_10:
	movl	$2, %eax
	jmp	LBB0_2
LBB0_12:
	movl	$3, %eax
	jmp	LBB0_2
LBB0_14:
	movl	$4, %eax
LBB0_2:
	shlq	$4, %rax
	leaq	_button_code.table(%rip), %rcx
	movl	8(%rax,%rcx), %ebx
LBB0_3:
	cmpl	(%r15), %ebx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.6(%rip), %rsi
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_sprintf
	movq	%r15, %rdi
	callq	_Usage
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.17:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @button_code.table
_button_code.table:
	.quad	L_.str
	.long	128                             ## 0x80
	.space	4
	.quad	L_.str.1
	.long	128                             ## 0x80
	.space	4
	.quad	L_.str.2
	.long	131                             ## 0x83
	.space	4
	.quad	L_.str.3
	.long	131                             ## 0x83
	.space	4
	.quad	L_.str.4
	.long	129                             ## 0x81
	.space	4
	.quad	L_.str.5
	.long	130                             ## 0x82
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ok"

L_.str.1:                               ## @.str.1
	.asciz	"yes"

L_.str.2:                               ## @.str.2
	.asciz	"cancel"

L_.str.3:                               ## @.str.3
	.asciz	"no"

L_.str.4:                               ## @.str.4
	.asciz	"help"

L_.str.5:                               ## @.str.5
	.asciz	"extra"

	.comm	_DLG_EXIT_ERROR,4,2             ## @DLG_EXIT_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"Button name \"%.20s\" unknown"

	.no_dead_strip	_button_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function button_code
_button_code:                           ; @button_code
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
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	x21, _DLG_EXIT_ERROR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DLG_EXIT_ERROR@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dlg_strcmp
	cbz	w0, LBB0_7
; %bb.1:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dlg_strcmp
	cbz	w0, LBB0_8
; %bb.2:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dlg_strcmp
	cbz	w0, LBB0_9
; %bb.3:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dlg_strcmp
	cbz	w0, LBB0_10
; %bb.4:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dlg_strcmp
	cbz	w0, LBB0_11
; %bb.5:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dlg_strcmp
	cbnz	w0, LBB0_13
; %bb.6:
	mov	w8, #5
	b	LBB0_12
LBB0_7:
	mov	x8, #0
	b	LBB0_12
LBB0_8:
	mov	w8, #1
	b	LBB0_12
LBB0_9:
	mov	w8, #2
	b	LBB0_12
LBB0_10:
	mov	w8, #3
	b	LBB0_12
LBB0_11:
	mov	w8, #4
LBB0_12:
Lloh17:
	adrp	x9, _button_code.table@PAGE
Lloh18:
	add	x9, x9, _button_code.table@PAGEOFF
	add	x8, x9, x8, lsl #4
	ldr	w20, [x8, #8]
LBB0_13:
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_15
; %bb.14:
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_sprintf
	add	x0, sp, #8
	bl	_Usage
LBB0_15:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @button_code.table
_button_code.table:
	.quad	l_.str
	.long	128                             ; 0x80
	.space	4
	.quad	l_.str.1
	.long	128                             ; 0x80
	.space	4
	.quad	l_.str.2
	.long	131                             ; 0x83
	.space	4
	.quad	l_.str.3
	.long	131                             ; 0x83
	.space	4
	.quad	l_.str.4
	.long	129                             ; 0x81
	.space	4
	.quad	l_.str.5
	.long	130                             ; 0x82
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ok"

l_.str.1:                               ; @.str.1
	.asciz	"yes"

l_.str.2:                               ; @.str.2
	.asciz	"cancel"

l_.str.3:                               ; @.str.3
	.asciz	"no"

l_.str.4:                               ; @.str.4
	.asciz	"help"

l_.str.5:                               ; @.str.5
	.asciz	"extra"

	.comm	_DLG_EXIT_ERROR,4,2             ; @DLG_EXIT_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"Button name \"%.20s\" unknown"

	.no_dead_strip	_button_code
.subsections_via_symbols
