	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_read_gid_l2_fields        ## -- Begin function rdma_read_gid_l2_fields
	.p2align	4, 0x90
_rdma_read_gid_l2_fields:               ## @rdma_read_gid_l2_fields
	.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
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r15), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_ether_addr_copy
LBB0_4:
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	movl	$65535, (%r14)                  ## imm = 0xFFFF
	movq	%r12, %rdi
	callq	_is_vlan_dev
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_vlan_dev_vlan_id
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_7:
	movl	(%r15), %edi
	movq	_get_lower_dev_vlan@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_netdev_walk_all_lower_dev_rcu
LBB0_8:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_get_lower_dev_vlan,4,2         ## @get_lower_dev_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_read_gid_l2_fields        ; -- Begin function rdma_read_gid_l2_fields
	.p2align	2
_rdma_read_gid_l2_fields:               ; @rdma_read_gid_l2_fields
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_rcu_read_lock
	ldr	w0, [x20]
	bl	_rcu_dereference
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	cbz	x22, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x22
	bl	_ether_addr_copy
LBB0_3:
	cbz	x19, LBB0_8
; %bb.4:
	mov	w8, #65535
	str	w8, [x19]
	mov	x0, x21
	bl	_is_vlan_dev
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_vlan_dev_vlan_id
	str	w0, [x19]
	b	LBB0_8
LBB0_6:
	bl	_rcu_read_unlock
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _get_lower_dev_vlan@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_lower_dev_vlan@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_netdev_walk_all_lower_dev_rcu
LBB0_8:
	bl	_rcu_read_unlock
	mov	w0, #0
LBB0_9:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_get_lower_dev_vlan,4,2         ; @get_lower_dev_vlan
.subsections_via_symbols
