	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bond_lag_hash_type
_bond_lag_hash_type:                    ## @bond_lag_hash_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NETDEV_LAG_TX_TYPE_HASH@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.4:
	cltq
	leaq	l_switch.table.bond_lag_hash_type(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_NETDEV_LAG_HASH_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_NETDEV_LAG_HASH_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_LAG_TX_TYPE_HASH,4,2    ## @NETDEV_LAG_TX_TYPE_HASH
	.comm	_NETDEV_LAG_HASH_NONE,4,2       ## @NETDEV_LAG_HASH_NONE
	.comm	_NETDEV_LAG_HASH_L2,4,2         ## @NETDEV_LAG_HASH_L2
	.comm	_NETDEV_LAG_HASH_L34,4,2        ## @NETDEV_LAG_HASH_L34
	.comm	_NETDEV_LAG_HASH_L23,4,2        ## @NETDEV_LAG_HASH_L23
	.comm	_NETDEV_LAG_HASH_E23,4,2        ## @NETDEV_LAG_HASH_E23
	.comm	_NETDEV_LAG_HASH_E34,4,2        ## @NETDEV_LAG_HASH_E34
	.comm	_NETDEV_LAG_HASH_UNKNOWN,4,2    ## @NETDEV_LAG_HASH_UNKNOWN
	.no_dead_strip	_bond_lag_hash_type
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bond_lag_hash_type
l_switch.table.bond_lag_hash_type:
	.quad	_NETDEV_LAG_HASH_L34
	.quad	_NETDEV_LAG_HASH_L23
	.quad	_NETDEV_LAG_HASH_L2
	.quad	_NETDEV_LAG_HASH_E34
	.quad	_NETDEV_LAG_HASH_E23

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bond_lag_hash_type
_bond_lag_hash_type:                    ; @bond_lag_hash_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NETDEV_LAG_TX_TYPE_HASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_LAG_TX_TYPE_HASH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.bond_lag_hash_type@PAGE
Lloh4:
	add	x9, x9, l_switch.table.bond_lag_hash_type@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh5:
	adrp	x8, _NETDEV_LAG_HASH_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_LAG_HASH_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh8:
	adrp	x8, _NETDEV_LAG_HASH_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_LAG_HASH_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_LAG_TX_TYPE_HASH,4,2    ; @NETDEV_LAG_TX_TYPE_HASH
	.comm	_NETDEV_LAG_HASH_NONE,4,2       ; @NETDEV_LAG_HASH_NONE
	.comm	_NETDEV_LAG_HASH_L2,4,2         ; @NETDEV_LAG_HASH_L2
	.comm	_NETDEV_LAG_HASH_L34,4,2        ; @NETDEV_LAG_HASH_L34
	.comm	_NETDEV_LAG_HASH_L23,4,2        ; @NETDEV_LAG_HASH_L23
	.comm	_NETDEV_LAG_HASH_E23,4,2        ; @NETDEV_LAG_HASH_E23
	.comm	_NETDEV_LAG_HASH_E34,4,2        ; @NETDEV_LAG_HASH_E34
	.comm	_NETDEV_LAG_HASH_UNKNOWN,4,2    ; @NETDEV_LAG_HASH_UNKNOWN
	.no_dead_strip	_bond_lag_hash_type
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bond_lag_hash_type
l_switch.table.bond_lag_hash_type:
	.quad	_NETDEV_LAG_HASH_L34
	.quad	_NETDEV_LAG_HASH_L23
	.quad	_NETDEV_LAG_HASH_L2
	.quad	_NETDEV_LAG_HASH_E34
	.quad	_NETDEV_LAG_HASH_E23

.subsections_via_symbols
