	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pertype_changed
_pertype_changed:                       ## @pertype_changed
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_GTK_CONTAINER
	movl	%eax, %edi
	callq	_gtk_container_get_children
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_g_list_nth_data
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_gtk_widget_destroy
LBB0_2:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_g_list_nth_data
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_gtk_widget_destroy
LBB0_4:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_g_list_nth_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_gtk_widget_destroy
LBB0_6:
	movq	%r15, %rdi
	callq	_GTK_TREE_VIEW
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_gtk_tree_view_get_cursor
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.7:
	callq	_gtk_tree_path_to_string
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	callq	_sscanf
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_10
## %bb.8:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	_keyfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PERPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_g_key_file_set_integer
	movq	%r14, %rdi
	callq	_pertype_display_pad
	jmp	LBB0_11
LBB0_10:
	movq	_keyfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PERMOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_g_key_file_set_integer
	movq	%r14, %rdi
	callq	_pertype_display_mouse
LBB0_11:
	movq	%rbx, %rdi
	callq	_g_free
	movq	-40(%rbp), %rdi
	callq	_gtk_tree_path_free
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_keyfile,4,2                    ## @keyfile
L_.str.1:                               ## @.str.1
	.asciz	"General"

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

	.comm	_PERPAD,4,2                     ## @PERPAD
	.comm	_PERMOUSE,4,2                   ## @PERMOUSE
	.no_dead_strip	_pertype_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pertype_changed
_pertype_changed:                       ; @pertype_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_GTK_CONTAINER
	bl	_gtk_container_get_children
	mov	x21, x0
	mov	w1, #1
	bl	_g_list_nth_data
	cbz	x0, LBB0_2
; %bb.1:
	bl	_gtk_widget_destroy
LBB0_2:
	mov	x0, x21
	mov	w1, #2
	bl	_g_list_nth_data
	cbz	x0, LBB0_4
; %bb.3:
	bl	_gtk_widget_destroy
LBB0_4:
	mov	x0, x21
	mov	w1, #3
	bl	_g_list_nth_data
	cbz	x0, LBB0_6
; %bb.5:
	bl	_gtk_widget_destroy
LBB0_6:
	mov	x0, x20
	bl	_GTK_TREE_VIEW
	add	x1, sp, #8
	mov	x2, #0
	bl	_gtk_tree_view_get_cursor
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_12
; %bb.7:
	bl	_gtk_tree_path_to_string
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	bl	_sscanf
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.8:
	cbnz	w8, LBB0_11
; %bb.9:
Lloh2:
	adrp	x8, _keyfile@GOTPAGE
Lloh3:
	ldr	x8, [x8, _keyfile@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _PERPAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PERPAD@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_g_key_file_set_integer
	mov	x0, x19
	bl	_pertype_display_pad
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _keyfile@GOTPAGE
Lloh13:
	ldr	x8, [x8, _keyfile@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _PERMOUSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PERMOUSE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_g_key_file_set_integer
	mov	x0, x19
	bl	_pertype_display_mouse
LBB0_11:
	mov	x0, x20
	bl	_g_free
	ldr	x0, [sp, #8]
	bl	_gtk_tree_path_free
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_keyfile,4,2                    ; @keyfile
l_.str.1:                               ; @.str.1
	.asciz	"General"

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

	.comm	_PERPAD,4,2                     ; @PERPAD
	.comm	_PERMOUSE,4,2                   ; @PERMOUSE
	.no_dead_strip	_pertype_changed
.subsections_via_symbols
