	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_configure_bridge_mode
_ixgbe_configure_bridge_mode:           ## @ixgbe_configure_bridge_mode
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	16(%rdi), %r12
	cmpl	$129, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$128, %r14d
	jne	LBB0_12
## %bb.2:
	movq	_IXGBE_PFDTXGSWC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_VMD_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_VT_CTL_REPLEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movl	4(%r15), %r13d
	addl	(%r15), %r13d
	jne	LBB0_3
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	*%rax
	jmp	LBB0_5
LBB0_6:
	movq	_IXGBE_PFDTXGSWC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_PFDTXGSWC_VT_LBEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_VMD_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_VT_CTL_REPLEN@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	(%r15), %ebx
	movl	(%rcx), %ecx
	movl	$0, %edx
	sbbl	%edx, %edx
	notl	%ecx
	orl	%ecx, %edx
	andl	%eax, %edx
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movl	4(%r15), %r13d
	addl	(%r15), %r13d
	jne	LBB0_7
LBB0_10:
	movl	%r14d, 8(%r15)
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$128, %r14d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	*%rax
	jmp	LBB0_9
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_PFDTXGSWC,4,2            ## @IXGBE_PFDTXGSWC
	.comm	_IXGBE_VMD_CTL,4,2              ## @IXGBE_VMD_CTL
	.comm	_IXGBE_VT_CTL_REPLEN,4,2        ## @IXGBE_VT_CTL_REPLEN
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ## @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling bridge mode: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"VEPA"

L_.str.2:                               ## @.str.2
	.asciz	"VEB"

	.no_dead_strip	_ixgbe_configure_bridge_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_configure_bridge_mode
_ixgbe_configure_bridge_mode:           ; @ixgbe_configure_bridge_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	add	x21, x0, #16
	cmp	w1, #129
	b.eq	LBB0_7
; %bb.1:
	cmp	w19, #128
	b.ne	LBB0_13
; %bb.2:
Lloh0:
	adrp	x8, _IXGBE_PFDTXGSWC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_PFDTXGSWC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
Lloh3:
	adrp	x22, _IXGBE_VMD_CTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_VMD_CTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x8, _IXGBE_VT_CTL_REPLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_VT_CTL_REPLEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x21
	bl	_IXGBE_WRITE_REG
	ldp	w8, w9, [x20]
	adds	w23, w9, w8
	b.eq	LBB0_12
; %bb.3:
	mov	w22, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	cmp	w23, w22
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #1
	mov	x2, x22
	blr	x8
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x8, _IXGBE_PFDTXGSWC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_PFDTXGSWC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_IXGBE_WRITE_REG
Lloh14:
	adrp	x22, _IXGBE_VMD_CTL@GOTPAGE
Lloh15:
	ldr	x22, [x22, _IXGBE_VMD_CTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_IXGBE_READ_REG
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _IXGBE_VT_CTL_REPLEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IXGBE_VT_CTL_REPLEN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, #0
	mov	w8, #-1
	csinv	w8, w8, w9, ne
	and	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x21
	bl	_IXGBE_WRITE_REG
	ldp	w8, w9, [x20]
	adds	w23, w9, w8
	b.eq	LBB0_12
; %bb.8:
	mov	w22, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	cmp	w23, w22
	b.eq	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	w1, #0
	mov	x2, x22
	blr	x8
	b	LBB0_9
LBB0_12:
	str	w19, [x20, #8]
Lloh19:
	adrp	x8, _drv@GOTPAGE
Lloh20:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, l_.str.2@PAGE
Lloh23:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh24:
	adrp	x9, l_.str.1@PAGE
Lloh25:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w19, #128
	csel	x2, x9, x8, eq
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	mov	w0, #0
	b	LBB0_14
LBB0_13:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_PFDTXGSWC,4,2            ; @IXGBE_PFDTXGSWC
	.comm	_IXGBE_VMD_CTL,4,2              ; @IXGBE_VMD_CTL
	.comm	_IXGBE_VT_CTL_REPLEN,4,2        ; @IXGBE_VT_CTL_REPLEN
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ; @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling bridge mode: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"VEPA"

l_.str.2:                               ; @.str.2
	.asciz	"VEB"

	.no_dead_strip	_ixgbe_configure_bridge_mode
.subsections_via_symbols
