	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lacp_compose_key
_lacp_compose_key:                      ## @lacp_compose_key
	.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	_LACP_STATE_AGGREGATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movl	(%rdi), %ebx
	movl	%ebx, %edi
	callq	_IFM_SUBTYPE
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_IFM_TYPE
	movq	_IFM_ETHER@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_IFM_FDX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	andl	(%rax), %ebx
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movl	%r14d, %eax
	addl	$-128, %eax
	cmpl	$110, %eax
	ja	LBB0_4
## %bb.3:
	cltq
	leaq	l_switch.table.lacp_compose_key(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
LBB0_4:
	movq	(%r15), %rax
	movl	(%rax), %edi
	shll	$5, %edi
	andl	$32736, %edi                    ## imm = 0x7FE0
	orl	%r14d, %edi
	jmp	LBB0_5
LBB0_1:
	movq	8(%rdi), %rax
	movl	$32768, %edi                    ## imm = 0x8000
	orl	(%rax), %edi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LACP_STATE_AGGREGATION,4,2     ## @LACP_STATE_AGGREGATION
	.comm	_IFM_ETHER,8,3                  ## @IFM_ETHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid media type"

	.comm	_IFM_FDX,4,2                    ## @IFM_FDX
L_.str.1:                               ## @.str.1
	.asciz	"aggregating HDX interface"

	.no_dead_strip	_lacp_compose_key
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.lacp_compose_key
l_switch.table.lacp_compose_key:
	.long	128                             ## 0x80
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	145                             ## 0x91
	.long	145                             ## 0x91
	.long	145                             ## 0x91
	.long	145                             ## 0x91
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	156                             ## 0x9c
	.long	158                             ## 0x9e
	.long	158                             ## 0x9e
	.long	158                             ## 0x9e
	.long	158                             ## 0x9e
	.long	158                             ## 0x9e
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	164                             ## 0xa4
	.long	177                             ## 0xb1
	.long	177                             ## 0xb1
	.long	177                             ## 0xb1
	.long	178                             ## 0xb2
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	184                             ## 0xb8
	.long	189                             ## 0xbd
	.long	189                             ## 0xbd
	.long	189                             ## 0xbd
	.long	189                             ## 0xbd
	.long	189                             ## 0xbd
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	200                             ## 0xc8
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	208                             ## 0xd0
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	222                             ## 0xde
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9
	.long	233                             ## 0xe9

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lacp_compose_key
_lacp_compose_key:                      ; @lacp_compose_key
	.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
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _LACP_STATE_AGGREGATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LACP_STATE_AGGREGATION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	x21, [x8]
	ldr	w20, [x0]
	mov	x0, x20
	bl	_IFM_SUBTYPE
	mov	x19, x0
	mov	x0, x20
	bl	_IFM_TYPE
Lloh3:
	adrp	x8, _IFM_ETHER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFM_ETHER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh8:
	adrp	x8, _IFM_FDX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFM_FDX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w0, ne
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	sub	w8, w19, #128
	cmp	w8, #110
	b.hi	LBB0_3
; %bb.2:
Lloh13:
	adrp	x9, l_switch.table.lacp_compose_key@PAGE
Lloh14:
	add	x9, x9, l_switch.table.lacp_compose_key@PAGEOFF
	ldr	w19, [x9, w8, sxtw #2]
LBB0_3:
	ldr	x8, [x21]
	ldr	w8, [x8]
	ubfiz	w8, w8, #5, #10
	orr	w0, w8, w19
	b	LBB0_5
LBB0_4:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	orr	w0, w8, #0x8000
LBB0_5:
	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	_htons
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LACP_STATE_AGGREGATION,4,2     ; @LACP_STATE_AGGREGATION
	.comm	_IFM_ETHER,8,3                  ; @IFM_ETHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid media type"

	.comm	_IFM_FDX,4,2                    ; @IFM_FDX
l_.str.1:                               ; @.str.1
	.asciz	"aggregating HDX interface"

	.no_dead_strip	_lacp_compose_key
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.lacp_compose_key
l_switch.table.lacp_compose_key:
	.long	128                             ; 0x80
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	145                             ; 0x91
	.long	145                             ; 0x91
	.long	145                             ; 0x91
	.long	145                             ; 0x91
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	156                             ; 0x9c
	.long	158                             ; 0x9e
	.long	158                             ; 0x9e
	.long	158                             ; 0x9e
	.long	158                             ; 0x9e
	.long	158                             ; 0x9e
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	164                             ; 0xa4
	.long	177                             ; 0xb1
	.long	177                             ; 0xb1
	.long	177                             ; 0xb1
	.long	178                             ; 0xb2
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	184                             ; 0xb8
	.long	189                             ; 0xbd
	.long	189                             ; 0xbd
	.long	189                             ; 0xbd
	.long	189                             ; 0xbd
	.long	189                             ; 0xbd
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	200                             ; 0xc8
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	208                             ; 0xd0
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	222                             ; 0xde
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9
	.long	233                             ; 0xe9

.subsections_via_symbols
