	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gib_set_pad_extension
_gib_set_pad_extension:                 ## @gib_set_pad_extension
	.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	_GIB_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_gib_readl
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_netdev_uses_dsa
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GIB_PAD_EXTENSION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GIB_PAD_EXTENSION_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_ENET_BRCM_TAG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_2:
	movq	_GIB_IPG_LEN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GIB_IPG_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	$12, %esi
	shll	%cl, %esi
	notl	%eax
	andl	%ebx, %eax
	orl	%eax, %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gib_writel                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GIB_CONTROL,4,2                ## @GIB_CONTROL
	.comm	_GIB_PAD_EXTENSION_MASK,4,2     ## @GIB_PAD_EXTENSION_MASK
	.comm	_GIB_PAD_EXTENSION_SHIFT,4,2    ## @GIB_PAD_EXTENSION_SHIFT
	.comm	_ENET_BRCM_TAG_LEN,4,2          ## @ENET_BRCM_TAG_LEN
	.comm	_GIB_IPG_LEN_MASK,4,2           ## @GIB_IPG_LEN_MASK
	.comm	_GIB_IPG_LEN_SHIFT,4,2          ## @GIB_IPG_LEN_SHIFT
	.no_dead_strip	_gib_set_pad_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gib_set_pad_extension
_gib_set_pad_extension:                 ; @gib_set_pad_extension
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _GIB_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GIB_CONTROL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_gib_readl
	mov	x20, x0
	ldr	w0, [x19]
	bl	_netdev_uses_dsa
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _GIB_PAD_EXTENSION_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GIB_PAD_EXTENSION_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GIB_PAD_EXTENSION_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GIB_PAD_EXTENSION_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	bic	w8, w20, w8
Lloh8:
	adrp	x10, _ENET_BRCM_TAG_LEN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ENET_BRCM_TAG_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w9, w10, w9
	orr	w20, w8, w9
LBB0_2:
Lloh11:
	adrp	x8, _GIB_IPG_LEN_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GIB_IPG_LEN_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _GIB_IPG_LEN_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GIB_IPG_LEN_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	bic	w8, w20, w8
	mov	w10, #12
	lsl	w9, w10, w9
	orr	w1, w8, w9
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gib_writel
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GIB_CONTROL,4,2                ; @GIB_CONTROL
	.comm	_GIB_PAD_EXTENSION_MASK,4,2     ; @GIB_PAD_EXTENSION_MASK
	.comm	_GIB_PAD_EXTENSION_SHIFT,4,2    ; @GIB_PAD_EXTENSION_SHIFT
	.comm	_ENET_BRCM_TAG_LEN,4,2          ; @ENET_BRCM_TAG_LEN
	.comm	_GIB_IPG_LEN_MASK,4,2           ; @GIB_IPG_LEN_MASK
	.comm	_GIB_IPG_LEN_SHIFT,4,2          ; @GIB_IPG_LEN_SHIFT
	.no_dead_strip	_gib_set_pad_extension
.subsections_via_symbols
