	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function newmode
_newmode:                               ## @newmode
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	cmpl	%esi, %eax
	je	LBB0_10
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$128, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$133, %eax
	jne	LBB0_9
## %bb.4:
	movl	12(%rbx), %edi
	movq	_IOETHERSWITCHGETCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_6:
	movq	%rbx, %rdi
	callq	_print_config
	jmp	LBB0_9
LBB0_8:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_print_vlangroup
	jmp	LBB0_9
LBB0_7:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_print_port
LBB0_9:
	movl	%r14d, (%rbx)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IOETHERSWITCHGETCONF,4,2       ## @IOETHERSWITCHGETCONF
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ioctl(IOETHERSWITCHGETCONF)"

	.no_dead_strip	_newmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function newmode
_newmode:                               ; @newmode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, w1
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #133
	b.ne	LBB0_9
; %bb.4:
	ldr	w0, [x20, #12]
Lloh0:
	adrp	x8, _IOETHERSWITCHGETCONF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOETHERSWITCHGETCONF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x20, #8
	bl	_ioctl
	cbz	w0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_6:
	mov	x0, x20
	bl	_print_config
	b	LBB0_9
LBB0_7:
	ldr	w1, [x20, #4]
	mov	x0, x20
	bl	_print_vlangroup
	b	LBB0_9
LBB0_8:
	ldr	w1, [x20, #4]
	mov	x0, x20
	bl	_print_port
LBB0_9:
	str	w19, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IOETHERSWITCHGETCONF,4,2       ; @IOETHERSWITCHGETCONF
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ioctl(IOETHERSWITCHGETCONF)"

	.no_dead_strip	_newmode
.subsections_via_symbols
