	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setlaggflowidshift
_setlaggflowidshift:                    ## @setlaggflowidshift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	movl	$12, %esi
	callq	_bzero
	movq	_LAGG_OPT_FLOWIDSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	-28(%rbp), %edi
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, -32(%rbp)
	movq	_LAGG_OPT_FLOWIDSHIFT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
LBB0_2:
	movq	_SIOCSLAGGOPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAGG_OPT_FLOWIDSHIFT,4,2       ## @LAGG_OPT_FLOWIDSHIFT
	.comm	_name,4,2                       ## @name
	.comm	_LAGG_OPT_FLOWIDSHIFT_MASK,4,2  ## @LAGG_OPT_FLOWIDSHIFT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid flowid_shift option: %s"

	.comm	_SIOCSLAGGOPTS,4,2              ## @SIOCSLAGGOPTS
L_.str.1:                               ## @.str.1
	.asciz	"SIOCSLAGGOPTS"

	.no_dead_strip	_setlaggflowidshift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setlaggflowidshift
_setlaggflowidshift:                    ; @setlaggflowidshift
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
	mov	x0, sp
	mov	w1, #12
	bl	_bzero
Lloh0:
	adrp	x8, _LAGG_OPT_FLOWIDSHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LAGG_OPT_FLOWIDSHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [sp, #4]
Lloh3:
	adrp	x8, _name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	mov	x0, x20
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [sp]
Lloh6:
	adrp	x8, _LAGG_OPT_FLOWIDSHIFT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LAGG_OPT_FLOWIDSHIFT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bics	wzr, w0, w8
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_errx
LBB0_2:
Lloh11:
	adrp	x8, _SIOCSLAGGOPTS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIOCSLAGGOPTS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_ioctl
	cbz	x0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LAGG_OPT_FLOWIDSHIFT,4,2       ; @LAGG_OPT_FLOWIDSHIFT
	.comm	_name,4,2                       ; @name
	.comm	_LAGG_OPT_FLOWIDSHIFT_MASK,4,2  ; @LAGG_OPT_FLOWIDSHIFT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid flowid_shift option: %s"

	.comm	_SIOCSLAGGOPTS,4,2              ; @SIOCSLAGGOPTS
l_.str.1:                               ; @.str.1
	.asciz	"SIOCSLAGGOPTS"

	.no_dead_strip	_setlaggflowidshift
.subsections_via_symbols
