	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function taskdialog_init_button
_taskdialog_init_button:                ## @taskdialog_init_button
	.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
	movq	%r8, %r12
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%r13, %rsi
	movq	%r8, %rdx
	callq	_taskdialog_get_text_extent
	movl	%r15d, (%rbx)
	movq	%r13, 24(%rbx)
	movq	_DIALOG_BUTTON_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DIALOG_SPACING@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%rsi, %rsi
	addq	-48(%rbp), %rsi
	callq	_max
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	8(%r14), %rax
	testq	%r12, %r12
	jne	LBB0_1
## %bb.2:
	movq	_COMCTL32_hModule@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	leaq	4(%rax), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIALOG_BUTTON_WIDTH,4,2        ## @DIALOG_BUTTON_WIDTH
	.comm	_DIALOG_SPACING,4,2             ## @DIALOG_SPACING
	.comm	_COMCTL32_hModule,4,2           ## @COMCTL32_hModule
	.no_dead_strip	_taskdialog_init_button
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function taskdialog_init_button
_taskdialog_init_button:                ; @taskdialog_init_button
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	add	x3, sp, #8
	mov	x0, x1
	mov	x1, x22
	mov	x2, x4
	bl	_taskdialog_get_text_extent
	str	w23, [x20]
	str	x22, [x20, #24]
Lloh0:
	adrp	x8, _DIALOG_BUTTON_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIALOG_BUTTON_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _DIALOG_SPACING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DIALOG_SPACING@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x1, x8, x9, lsl #1
	bl	_max
	str	w0, [x20, #16]
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _COMCTL32_hModule@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COMCTL32_hModule@GOTPAGEOFF]
	ldr	w10, [x8], #4
	str	xzr, [x20, #8]
	cmp	x21, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x20, #4]
	cmp	w10, w23
	b.ne	LBB0_2
; %bb.1:
	str	x20, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIALOG_BUTTON_WIDTH,4,2        ; @DIALOG_BUTTON_WIDTH
	.comm	_DIALOG_SPACING,4,2             ; @DIALOG_SPACING
	.comm	_COMCTL32_hModule,4,2           ; @COMCTL32_hModule
	.no_dead_strip	_taskdialog_init_button
.subsections_via_symbols
