	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gswip_port_fast_age
_gswip_port_fast_age:                   ## @gswip_port_fast_age
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r12
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	xorl	%ebx, %ebx
	movq	_GSWIP_TABLE_MAC_BRIDGE@GOTPCREL(%rip), %r13
	leaq	-80(%rbp), %r15
	movq	_GSWIP_TABLE_MAC_BRIDGE_STATIC@GOTPCREL(%rip), %r14
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$2048, %ebx                     ## imm = 0x800
	je	LBB0_10
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	movl	%eax, -64(%rbp)
	movl	%ebx, -80(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_gswip_pce_table_entry_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -76(%rbp)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rax
	movl	(%r14), %ecx
	testl	%ecx, 4(%rax)
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %r12
	movq	%r13, %r15
	movq	%r14, %r13
	movl	(%rax), %r14d
	movl	$7, %edi
	movl	$4, %esi
	callq	_GENMASK
	andl	%r14d, %eax
	movq	%r13, %r14
	movq	%r15, %r13
	movq	%r12, %r15
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	sarl	$4, %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -76(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_gswip_pce_table_entry_write
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movl	%eax, %edx
	callq	_dev_err
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSWIP_TABLE_MAC_BRIDGE,4,2     ## @GSWIP_TABLE_MAC_BRIDGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to read mac bridge: %d\n"

	.comm	_GSWIP_TABLE_MAC_BRIDGE_STATIC,4,2 ## @GSWIP_TABLE_MAC_BRIDGE_STATIC
L_.str.1:                               ## @.str.1
	.asciz	"failed to write mac bridge: %d\n"

	.no_dead_strip	_gswip_port_fast_age
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gswip_port_fast_age
_gswip_port_fast_age:                   ; @gswip_port_fast_age
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	w21, #0
	ldr	x19, [x0]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x22, _GSWIP_TABLE_MAC_BRIDGE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GSWIP_TABLE_MAC_BRIDGE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _GSWIP_TABLE_MAC_BRIDGE_STATIC@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GSWIP_TABLE_MAC_BRIDGE_STATIC@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
	cmp	w21, #2048
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	str	w8, [sp, #24]
	str	w21, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gswip_pce_table_entry_read
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]
	ldr	w9, [x8, #4]
	ldr	w10, [x23]
	tst	w10, w9
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w24, [x8]
	mov	w0, #7
	mov	w1, #4
	bl	_GENMASK
	and	w8, w0, w24
	cmp	w20, w8, asr #4
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [sp, #12]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gswip_pce_table_entry_write
	cbz	w0, LBB0_1
; %bb.7:
	mov	x2, x0
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x2, x0
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	bl	_dev_err
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GSWIP_TABLE_MAC_BRIDGE,4,2     ; @GSWIP_TABLE_MAC_BRIDGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to read mac bridge: %d\n"

	.comm	_GSWIP_TABLE_MAC_BRIDGE_STATIC,4,2 ; @GSWIP_TABLE_MAC_BRIDGE_STATIC
l_.str.1:                               ; @.str.1
	.asciz	"failed to write mac bridge: %d\n"

	.no_dead_strip	_gswip_port_fast_age
.subsections_via_symbols
