	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_scan
_start_scan:                            ## @start_scan
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	-56(%rbp), %rdi
	callq	_ghb_get_status
	movq	-56(%rbp), %rax
	movq	_GHB_STATE_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GHB_WIDGET
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_TOOL_BUTTON
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_gtk_tool_button_set_icon_name
	movq	%rbx, %rdi
	callq	_GTK_TOOL_BUTTON
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	__
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_gtk_tool_button_set_label
	movq	%rbx, %rdi
	callq	_GTK_TOOL_ITEM
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gtk_tool_item_set_tooltip_text
	movl	4(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_GHB_WIDGET
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_gtk_widget_set_sensitive
	movl	4(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_GHB_WIDGET
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_gtk_widget_set_sensitive
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_ghb_dict_get_int
	imulq	$90000, %rax, %rcx              ## imm = 0x15F90
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_ghb_backend_scan
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GHB_STATE_IDLE,8,3             ## @GHB_STATE_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sourcetoolbutton"

L_.str.1:                               ## @.str.1
	.asciz	"hb-stop"

L_.str.2:                               ## @.str.2
	.asciz	"Stop Scan"

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

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.4:                               ## @.str.4
	.asciz	"source_title_open"

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

	.no_dead_strip	_start_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_scan
_start_scan:                            ; @start_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	bl	_ghb_get_status
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _GHB_STATE_IDLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GHB_STATE_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x22, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GHB_WIDGET
	mov	x23, x0
	bl	_GTK_TOOL_BUTTON
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gtk_tool_button_set_icon_name
	mov	x0, x23
	bl	_GTK_TOOL_BUTTON
	mov	x24, x0
Lloh7:
	adrp	x25, l_.str.2@PAGE
Lloh8:
	add	x25, x25, l_.str.2@PAGEOFF
	mov	x0, x25
	bl	__
	mov	x1, x0
	mov	x0, x24
	bl	_gtk_tool_button_set_label
	mov	x0, x23
	bl	_GTK_TOOL_ITEM
	mov	x23, x0
	mov	x0, x25
	bl	__
	mov	x1, x0
	mov	x0, x23
	bl	_gtk_tool_item_set_tooltip_text
	ldr	w0, [x22, #4]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_GHB_WIDGET
Lloh11:
	adrp	x23, _FALSE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_gtk_widget_set_sensitive
	ldr	w0, [x22, #4]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_GHB_WIDGET
	ldr	w1, [x23]
	bl	_gtk_widget_set_sensitive
	ldr	w0, [x22]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_ghb_dict_get_int
	mov	w8, #24464
	movk	w8, #1, lsl #16
	mul	x3, x0, x8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ghb_backend_scan
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GHB_STATE_IDLE,8,3             ; @GHB_STATE_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sourcetoolbutton"

l_.str.1:                               ; @.str.1
	.asciz	"hb-stop"

l_.str.2:                               ; @.str.2
	.asciz	"Stop Scan"

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

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.4:                               ; @.str.4
	.asciz	"source_title_open"

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

	.no_dead_strip	_start_scan
.subsections_via_symbols
