	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setlaggsetopt
_setlaggsetopt:                         ## @setlaggsetopt
	.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
	movl	%esi, %ebx
	leaq	-24(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	movl	%ebx, -24(%rbp)
	leal	133(%rbx), %eax
	cmpl	$6, %eax
	jb	LBB0_3
## %bb.1:
	addl	$-128, %ebx
	cmpl	$6, %ebx
	jae	LBB0_2
LBB0_3:
	movl	-20(%rbp), %edi
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_SIOCSLAGGOPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid lagg option"

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

	.no_dead_strip	_setlaggsetopt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setlaggsetopt
_setlaggsetopt:                         ; @setlaggsetopt
	.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, x1
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	str	w20, [sp, #8]
	add	w8, w20, #133
	cmp	w8, #6
	b.lo	LBB0_2
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #6
	b.hs	LBB0_5
LBB0_2:
	ldr	w0, [sp, #12]
Lloh0:
	adrp	x8, _name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
Lloh3:
	adrp	x8, _SIOCSLAGGOPTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCSLAGGOPTS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	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
LBB0_5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid lagg option"

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

	.no_dead_strip	_setlaggsetopt
.subsections_via_symbols
