	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_bar_address
_update_bar_address:                    ## @update_bar_address
	.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
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movslq	%edx, %r15
	shlq	$4, %r15
	cmpq	$131, (%rax,%r15)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_porten
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_memen
LBB0_3:
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_unregister_bar
LBB0_5:
	leal	-130(%r13), %eax
	cmpl	$2, %eax
	jb	LBB0_8
## %bb.6:
	cmpl	$128, %r13d
	je	LBB0_9
## %bb.7:
	cmpl	$129, %r13d
	jne	LBB0_10
LBB0_8:
	movq	(%rbx), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax,%r15)
	testl	%r12d, %r12d
	jne	LBB0_13
	jmp	LBB0_12
LBB0_9:
	movq	(%rbx), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	%ecx, 8(%rax,%r15)
	testl	%r12d, %r12d
	je	LBB0_12
LBB0_13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_bar                   ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	callq	_assert
	testl	%r12d, %r12d
	jne	LBB0_13
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_bar_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_bar_address
_update_bar_address:                    ; @update_bar_address
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0]
	sbfiz	x9, x19, #4, #32
	ldr	x8, [x8, x9]
	cmp	x8, #131
	b.ne	LBB0_2
; %bb.1:
	bl	_porten
	mov	x22, x0
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_2:
	bl	_memen
	mov	x22, x0
	cbz	w0, LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_unregister_bar
LBB0_4:
	sxtw	x8, w19
	sub	w9, w23, #130
	cmp	w9, #2
	b.lo	LBB0_7
; %bb.5:
	cmp	w23, #128
	b.eq	LBB0_8
; %bb.6:
	cmp	w23, #129
	b.ne	LBB0_10
LBB0_7:
	ldr	x9, [x20]
	add	x8, x9, x8, lsl #4
	str	w21, [x8, #8]
	cbnz	w22, LBB0_9
	b	LBB0_11
LBB0_8:
	ldr	x9, [x20]
	add	x8, x9, x8, lsl #4
	ldr	w9, [x8, #8]
	orr	w9, w9, w21
	str	w9, [x8, #8]
	cbz	w22, LBB0_11
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_register_bar
LBB0_10:
	mov	w0, #0
	bl	_assert
	cbnz	w22, LBB0_9
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_bar_address
.subsections_via_symbols
