	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llan_ioctl
_llan_ioctl:                            ## @llan_ioctl
	.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	%esi, %ecx
	movq	(%rdi), %rbx
	leal	-131(%rcx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_7
LBB0_3:
	movq	%rdx, %rsi
	movq	%rbx, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ifmedia_ioctl                  ## TAILCALL
LBB0_4:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_mtx_lock
	movq	8(%rbx), %rax
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_llan_set_multicast
LBB0_6:
	movq	%r14, %rdi
	callq	_mtx_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	%ecx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ether_ioctl                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.no_dead_strip	_llan_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llan_ioctl
_llan_ioctl:                            ; @llan_ioctl
	.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	x19, [x0]
	sub	w8, w1, #131
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	mov	x3, x1
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.2:
	cmp	w3, #130
	b.ne	LBB0_7
LBB0_3:
	mov	x1, x2
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ifmedia_ioctl
LBB0_4:
	add	x20, x19, #4
	mov	x0, x20
	bl	_mtx_lock
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_llan_set_multicast
LBB0_6:
	mov	x0, x20
	bl	_mtx_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x1, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ether_ioctl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.no_dead_strip	_llan_ioctl
.subsections_via_symbols
