	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lbtf_op_add_interface
_lbtf_op_add_interface:                 ## @lbtf_op_add_interface
	.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
	movq	_LBTF_DEB_MACOPS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_lbtf_deb_enter
	cmpq	$0, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	%r14, (%rbx)
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_3
## %bb.4:
	cltq
	leaq	l_switch.table.lbtf_op_add_interface(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lbtf_set_mode
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_lbtf_set_mac_address
	movl	(%r15), %edi
	callq	_lbtf_deb_leave
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	$0, (%rbx)
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_MACOPS,4,2            ## @LBTF_DEB_MACOPS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_LBTF_AP_MODE,4,2               ## @LBTF_AP_MODE
	.comm	_LBTF_STA_MODE,4,2              ## @LBTF_STA_MODE
	.no_dead_strip	_lbtf_op_add_interface
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.lbtf_op_add_interface
l_switch.table.lbtf_op_add_interface:
	.quad	_LBTF_STA_MODE
	.quad	_LBTF_AP_MODE
	.quad	_LBTF_AP_MODE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lbtf_op_add_interface
_lbtf_op_add_interface:                 ; @lbtf_op_add_interface
	.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	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _LBTF_DEB_MACOPS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LBTF_DEB_MACOPS@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_lbtf_deb_enter
	ldr	x8, [x19]
	cbnz	x8, LBB0_4
; %bb.1:
	str	x20, [x19]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.2:
Lloh2:
	adrp	x9, l_switch.table.lbtf_op_add_interface@PAGE
Lloh3:
	add	x9, x9, l_switch.table.lbtf_op_add_interface@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lbtf_set_mode
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_lbtf_set_mac_address
	ldr	w0, [x21]
	bl	_lbtf_deb_leave
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	str	xzr, [x19]
LBB0_4:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_MACOPS,4,2            ; @LBTF_DEB_MACOPS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_LBTF_AP_MODE,4,2               ; @LBTF_AP_MODE
	.comm	_LBTF_STA_MODE,4,2              ; @LBTF_STA_MODE
	.no_dead_strip	_lbtf_op_add_interface
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.lbtf_op_add_interface
l_switch.table.lbtf_op_add_interface:
	.quad	_LBTF_STA_MODE
	.quad	_LBTF_AP_MODE
	.quad	_LBTF_AP_MODE

.subsections_via_symbols
