	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_config
_do_config:                             ## @do_config
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_debug
	movl	(%r14), %eax
	xorl	%r14d, %r14d
	cmpl	$255, %eax
	je	LBB0_5
## %bb.1:
	cmpl	(%rbx), %eax
	je	LBB0_5
## %bb.2:
	cmpl	$5, %eax
	jl	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_4:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	$1, %edx
	cmovel	%edx, %eax
	movl	%ecx, (%r15)
	movl	%eax, (%rbx)
	movq	_if_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_info
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_do_reset
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_config(%p)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"switching to %s port\n"

	.comm	_if_names,8,3                   ## @if_names
	.no_dead_strip	_do_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_config
_do_config:                             ; @do_config
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	ldr	w8, [x21]
	cmp	w8, #255
	b.eq	LBB0_5
; %bb.1:
	ldr	w9, [x19]
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #5
	b.lt	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	cmp	w8, #0
	cset	w9, eq
	csinc	w8, w8, wzr, ne
	str	w9, [x20]
	str	w8, [x19]
Lloh5:
	adrp	x9, _if_names@GOTPAGE
Lloh6:
	ldr	x9, [x9, _if_names@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w2, [x9, w8, sxtw #2]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
	mov	x0, x19
	mov	w1, #1
	bl	_do_reset
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_config(%p)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"switching to %s port\n"

	.comm	_if_names,8,3                   ; @if_names
	.no_dead_strip	_do_config
.subsections_via_symbols
