	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function taskdialog_get_exe_name
_taskdialog_get_exe_name:               ## @taskdialog_get_exe_name
	.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	%rdx, %rbx
	movq	%rsi, %r14
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_GetModuleFileNameW
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%rbx, %rax
	jge	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchrW
	leaq	4(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r14, %rbx
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_strrchrW
	leaq	4(%rax), %r15
	testq	%rax, %rax
	cmoveq	%rbx, %r15
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_taskdialog_get_exe_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function taskdialog_get_exe_name
_taskdialog_get_exe_name:               ; @taskdialog_get_exe_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	mov	x0, #0
	bl	_GetModuleFileNameW
	mov	x8, x0
	mov	x0, #0
	cbz	x8, LBB0_3
; %bb.1:
	cmp	x8, x20
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #47
	bl	_strrchrW
	add	x8, x0, #4
	cmp	x0, #0
	csel	x19, x19, x8, eq
	mov	x0, x19
	mov	w1, #92
	bl	_strrchrW
	add	x8, x0, #4
	cmp	x0, #0
	csel	x0, x19, x8, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_taskdialog_get_exe_name
.subsections_via_symbols
