	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function got_bar_config_update
_got_bar_config_update:                 ## @got_bar_config_update
	.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	%rdi, %r12
	movq	_config@GOTPCREL(%rip), %r13
	movl	24(%r13), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_sasprintf
	movq	-48(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strstr
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_FREE
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	movq	_I3_IPC_MESSAGE_TYPE_GET_OUTPUTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_i3_send_msg
	leaq	16(%r13), %r15
	movq	%r15, %rdi
	callq	_free_colors
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_DLOG
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_sstrdup
	movq	%rax, %r14
LBB0_3:
	movq	(%r13), %rbx
	movq	%r12, %rdi
	callq	_parse_config_json
	cmpq	(%r13), %rbx
	je	LBB0_5
## %bb.4:
	movl	$1, %edi
	callq	_reconfig_windows
LBB0_5:
	movl	20(%r13), %edi
	callq	_init_xcb_late
	movq	%r15, %rdi
	callq	_init_colors
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	movq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_kill_child
	movq	8(%r13), %rdi
	callq	_start_child
LBB0_8:
	movq	%r14, %rdi
	callq	_free
	xorl	%edi, %edi
	callq	_draw_bars
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"id\":\"%s\""

	.comm	_config,32,3                    ## @config
	.comm	_I3_IPC_MESSAGE_TYPE_GET_OUTPUTS,4,2 ## @I3_IPC_MESSAGE_TYPE_GET_OUTPUTS
L_.str.1:                               ## @.str.1
	.asciz	"Received bar config update \"%s\"\n"

	.no_dead_strip	_got_bar_config_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function got_bar_config_update
_got_bar_config_update:                 ; @got_bar_config_update
	.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, x0
Lloh0:
	adrp	x22, _config@GOTPAGE
Lloh1:
	ldr	x22, [x22, _config@GOTPAGEOFF]
	ldr	w2, [x22, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_sasprintf
	ldr	x20, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_strstr
	mov	x21, x0
	mov	x0, x20
	bl	_FREE
	cbz	x21, LBB0_10
; %bb.1:
Lloh4:
	adrp	x8, _I3_IPC_MESSAGE_TYPE_GET_OUTPUTS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I3_IPC_MESSAGE_TYPE_GET_OUTPUTS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_i3_send_msg
	add	x0, x22, #16
	bl	_free_colors
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_DLOG
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_sstrdup
	mov	x20, x0
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	ldr	x21, [x22]
	mov	x0, x19
	bl	_parse_config_json
	ldr	x8, [x22]
	cmp	x21, x8
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #1
	bl	_reconfig_windows
LBB0_6:
	ldr	w0, [x22, #20]
	bl	_init_xcb_late
	add	x0, x22, #16
	bl	_init_colors
	cbz	x20, LBB0_9
; %bb.7:
	ldr	x1, [x22, #8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.8:
	bl	_kill_child
	ldr	x0, [x22, #8]
	bl	_start_child
LBB0_9:
	mov	x0, x20
	bl	_free
	mov	w0, #0
	bl	_draw_bars
LBB0_10:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"id\":\"%s\""

	.comm	_config,32,3                    ; @config
	.comm	_I3_IPC_MESSAGE_TYPE_GET_OUTPUTS,4,2 ; @I3_IPC_MESSAGE_TYPE_GET_OUTPUTS
l_.str.1:                               ; @.str.1
	.asciz	"Received bar config update \"%s\"\n"

	.no_dead_strip	_got_bar_config_update
.subsections_via_symbols
