	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function agp_controller_release_current
_agp_controller_release_current:        ## @agp_controller_release_current
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_AGP_FF_IS_VALID@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_clear_bit
	movq	(%r14), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %edi
	callq	_agp_find_private
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_clear_bit
	jmp	LBB0_4
LBB0_5:
	movq	_agp_fe@GOTPCREL(%rip), %rax
	movq	$0, 8(%rax)
	movl	$0, (%rax)
	movq	_agp_bridge@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_agp_backend_release            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AGP_FF_IS_VALID,4,2            ## @AGP_FF_IS_VALID
	.comm	_agp_fe,16,3                    ## @agp_fe
	.comm	_agp_bridge,4,2                 ## @agp_bridge
	.no_dead_strip	_agp_controller_release_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agp_controller_release_current
_agp_controller_release_current:        ; @agp_controller_release_current
	.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, x0
Lloh0:
	adrp	x20, _AGP_FF_IS_VALID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AGP_FF_IS_VALID@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	ldr	w0, [x20]
	bl	_clear_bit
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x19, [x19]
	cbz	x19, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	w0, [x19, #8]
	bl	_agp_find_private
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x0
	b	LBB0_1
LBB0_5:
Lloh2:
	adrp	x8, _agp_fe@GOTPAGE
Lloh3:
	ldr	x8, [x8, _agp_fe@GOTPAGEOFF]
	str	xzr, [x8, #8]
	str	wzr, [x8]
Lloh4:
	adrp	x8, _agp_bridge@GOTPAGE
Lloh5:
	ldr	x8, [x8, _agp_bridge@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_agp_backend_release
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AGP_FF_IS_VALID,4,2            ; @AGP_FF_IS_VALID
	.comm	_agp_fe,16,3                    ; @agp_fe
	.comm	_agp_bridge,4,2                 ; @agp_bridge
	.no_dead_strip	_agp_controller_release_current
.subsections_via_symbols
