	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_bar_oneinit              ## -- Begin function gf100_bar_oneinit
	.p2align	4, 0x90
_gf100_bar_oneinit:                     ## @gf100_bar_oneinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_gf100_bar
	movq	%rax, %rbx
	movq	16(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rsi
	leaq	_gf100_bar_oneinit.bar2_lock(%rip), %rdx
	movq	%rbx, %rdi
	movl	$3, %ecx
	callq	_gf100_bar_oneinit_bar
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	$1, 8(%rbx)
	movl	12(%rbx), %edi
	callq	_nvkm_bar_bar2_init
LBB0_3:
	movq	(%rbx), %rsi
	addq	$4, %rsi
	leaq	_gf100_bar_oneinit.bar1_lock(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gf100_bar_oneinit_bar          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_gf100_bar_oneinit.bar1_lock,4,2 ## @gf100_bar_oneinit.bar1_lock
.zerofill __DATA,__bss,_gf100_bar_oneinit.bar2_lock,4,2 ## @gf100_bar_oneinit.bar2_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_bar_oneinit              ; -- Begin function gf100_bar_oneinit
	.p2align	2
_gf100_bar_oneinit:                     ; @gf100_bar_oneinit
	.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
	bl	_gf100_bar
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x1, [x19]
Lloh0:
	adrp	x2, _gf100_bar_oneinit.bar2_lock@PAGE
Lloh1:
	add	x2, x2, _gf100_bar_oneinit.bar2_lock@PAGEOFF
	mov	x0, x19
	mov	w3, #3
	bl	_gf100_bar_oneinit_bar
	cbz	w0, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	w0, [x19, #12]
	bl	_nvkm_bar_bar2_init
LBB0_4:
	ldr	x8, [x19]
	add	x1, x8, #4
Lloh2:
	adrp	x2, _gf100_bar_oneinit.bar1_lock@PAGE
Lloh3:
	add	x2, x2, _gf100_bar_oneinit.bar1_lock@PAGEOFF
	mov	x0, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gf100_bar_oneinit_bar
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_gf100_bar_oneinit.bar1_lock,4,2 ; @gf100_bar_oneinit.bar1_lock
.zerofill __DATA,__bss,_gf100_bar_oneinit.bar2_lock,4,2 ; @gf100_bar_oneinit.bar2_lock
.subsections_via_symbols
