	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setlagghash
_setlagghash:                           ## @setlagghash
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	$0, -44(%rbp)
	callq	_strdup
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str(%rip), %r13
	leaq	-64(%rbp), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_LAGG_F_HASHL2@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	(%rax), %r14d
	movl	%r14d, -44(%rbp)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strsep
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_LAGG_F_HASHL3@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_LAGG_F_HASHL4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	testl	%r14d, %r14d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_13
	jmp	LBB0_12
LBB0_16:
	movq	%rbx, %rdi
	callq	_free
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_13:
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_SIOCSLAGGHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

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

	.comm	_LAGG_F_HASHL2,4,2              ## @LAGG_F_HASHL2
L_.str.2:                               ## @.str.2
	.asciz	"l3"

	.comm	_LAGG_F_HASHL3,4,2              ## @LAGG_F_HASHL3
L_.str.3:                               ## @.str.3
	.asciz	"l4"

	.comm	_LAGG_F_HASHL4,4,2              ## @LAGG_F_HASHL4
L_.str.4:                               ## @.str.4
	.asciz	"Invalid lagghash option: %s"

L_.str.5:                               ## @.str.5
	.asciz	"No lagghash options supplied"

	.comm	_name,4,2                       ## @name
	.comm	_SIOCSLAGGHASH,4,2              ## @SIOCSLAGGHASH
L_.str.6:                               ## @.str.6
	.asciz	"SIOCSLAGGHASH"

	.no_dead_strip	_setlagghash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setlagghash
_setlagghash:                           ; @setlagghash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	str	wzr, [sp, #28]
	bl	_strdup
	mov	x20, x0
	str	x0, [sp, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #16
	bl	_strsep
	cbz	x0, LBB0_12
; %bb.1:
	mov	x26, x0
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	w27, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x28, _LAGG_F_HASHL2@GOTPAGE
Lloh5:
	ldr	x28, [x28, _LAGG_F_HASHL2@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x23, l_.str.2@PAGE
Lloh9:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh10:
	adrp	x19, _LAGG_F_HASHL3@GOTPAGE
Lloh11:
	ldr	x19, [x19, _LAGG_F_HASHL3@GOTPAGEOFF]
Lloh12:
	adrp	x24, l_.str.3@PAGE
Lloh13:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh14:
	adrp	x25, l_.str.4@PAGE
Lloh15:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x28]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	orr	w27, w27, w8
	str	w27, [sp, #28]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #16
	mov	x1, x22
	bl	_strsep
	mov	x26, x0
	cbz	x0, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x26, [sp]
	mov	w0, #1
	mov	x1, x25
	bl	_errx
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x8, _LAGG_F_HASHL4@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LAGG_F_HASHL4@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_11:
	mov	x0, x20
	bl	_free
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	cbnz	w27, LBB0_14
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	bl	_free
LBB0_13:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_14:
Lloh21:
	adrp	x8, _name@GOTPAGE
Lloh22:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
Lloh24:
	adrp	x8, _SIOCSLAGGHASH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIOCSLAGGHASH@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	cbz	x0, LBB0_16
; %bb.15:
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

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

	.comm	_LAGG_F_HASHL2,4,2              ; @LAGG_F_HASHL2
l_.str.2:                               ; @.str.2
	.asciz	"l3"

	.comm	_LAGG_F_HASHL3,4,2              ; @LAGG_F_HASHL3
l_.str.3:                               ; @.str.3
	.asciz	"l4"

	.comm	_LAGG_F_HASHL4,4,2              ; @LAGG_F_HASHL4
l_.str.4:                               ; @.str.4
	.asciz	"Invalid lagghash option: %s"

l_.str.5:                               ; @.str.5
	.asciz	"No lagghash options supplied"

	.comm	_name,4,2                       ; @name
	.comm	_SIOCSLAGGHASH,4,2              ; @SIOCSLAGGHASH
l_.str.6:                               ; @.str.6
	.asciz	"SIOCSLAGGHASH"

	.no_dead_strip	_setlagghash
.subsections_via_symbols
