	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altera_freeze_br_enable_set
_altera_freeze_br_enable_set:           ## @altera_freeze_br_enable_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	4(%rax), %esi
	jmp	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%rax), %esi
	jmp	LBB0_8
LBB0_2:
	xorl	%esi, %esi
LBB0_4:
	movq	%rbx, %rdi
	callq	_altera_freeze_br_do_unfreeze
	testl	%eax, %eax
	jne	LBB0_11
LBB0_10:
	movl	%r14d, (%rbx)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%esi, %esi
LBB0_8:
	movq	%rbx, %rdi
	callq	_altera_freeze_br_do_freeze
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_altera_freeze_br_enable_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altera_freeze_br_enable_set
_altera_freeze_br_enable_set:           ; @altera_freeze_br_enable_set
	.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	x19, x1
	ldp	x20, x8, [x0]
	cbz	w1, LBB0_3
; %bb.1:
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w1, [x8, #4]
	b	LBB0_6
LBB0_3:
	cbz	x8, LBB0_9
; %bb.4:
	ldr	w1, [x8]
	b	LBB0_10
LBB0_5:
	mov	w1, #0
LBB0_6:
	mov	x0, x20
	bl	_altera_freeze_br_do_unfreeze
	cbnz	w0, LBB0_8
LBB0_7:
	str	w19, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w1, #0
LBB0_10:
	mov	x0, x20
	bl	_altera_freeze_br_do_freeze
	cbnz	w0, LBB0_8
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_altera_freeze_br_enable_set
.subsections_via_symbols
