	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readrids
_readrids:                              ## @readrids
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movq	_FLAG_FLASHING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_7
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movzwl	8(%r14), %r12d
	jmp	LBB0_25
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	movq	_RID_WEP_TEMP@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_RID_WEP_PERM@GOTPCREL(%rip), %rax
LBB0_10:
	movzwl	(%rax), %r12d
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	jne	LBB0_25
## %bb.11:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_12:
	movq	_RID_APLIST@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_13:
	movq	_RID_STATSDELTA@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_14:
	movq	_RID_STATS@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_15:
	movq	_RID_STATUS@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_16:
	movq	_RID_SSID@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_17:
	movl	4(%r14), %edi
	movl	12(%r14), %ebx
	movl	$1, %esi
	callq	_min
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_copy_to_user
	testq	%rax, %rax
	jne	LBB0_27
LBB0_18:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_19:
	movq	_RID_ETHERENCAP@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_20:
	movq	_RID_DRVNAME@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_21:
	movq	_RID_CONFIG@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r12d
	movq	_FLAG_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_disable_MAC
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_writeConfigRid
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_enable_MAC
	jmp	LBB0_25
LBB0_23:
	movq	_RID_CAPABILITIES@GOTPCREL(%rip), %rax
LBB0_24:
	movzwl	(%rax), %r12d
LBB0_25:
	movq	_RIDSIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%rax, %rbx
	movq	(%r13), %rcx
	movzwl	%r12w, %esi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movl	$1, %r8d
	callq	_PC4500_readrid
	movl	4(%r14), %edi
	movl	12(%r14), %r14d
	movl	(%r13), %esi
	callq	_min
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_copy_to_user
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_kfree
	testq	%r14, %r14
	je	LBB0_18
LBB0_27:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_28:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_FLAG_FLASHING,4,2              ## @FLAG_FLASHING
	.comm	_EIO,4,2                        ## @EIO
	.comm	_RID_CAPABILITIES,2,1           ## @RID_CAPABILITIES
	.comm	_RID_CONFIG,2,1                 ## @RID_CONFIG
	.comm	_FLAG_COMMIT,4,2                ## @FLAG_COMMIT
	.comm	_RID_SSID,2,1                   ## @RID_SSID
	.comm	_RID_APLIST,2,1                 ## @RID_APLIST
	.comm	_RID_DRVNAME,2,1                ## @RID_DRVNAME
	.comm	_RID_ETHERENCAP,2,1             ## @RID_ETHERENCAP
	.comm	_RID_WEP_TEMP,2,1               ## @RID_WEP_TEMP
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_RID_WEP_PERM,2,1               ## @RID_WEP_PERM
	.comm	_RID_STATUS,2,1                 ## @RID_STATUS
	.comm	_RID_STATSDELTA,2,1             ## @RID_STATSDELTA
	.comm	_RID_STATS,2,1                  ## @RID_STATS
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RIDSIZE,8,3                    ## @RIDSIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_readrids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readrids
_readrids:                              ; @readrids
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _FLAG_FLASHING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_FLASHING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, x19, #4
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #12
	b.hi	LBB0_7
; %bb.5:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldrh	w21, [x20, #8]
	b	LBB0_24
LBB0_7:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
Lloh9:
	adrp	x8, _RID_WEP_TEMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RID_WEP_TEMP@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _RID_WEP_PERM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RID_WEP_PERM@GOTPAGEOFF]
LBB0_10:
	ldrh	w21, [x8]
Lloh13:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_capable
	cbnz	w0, LBB0_24
; %bb.11:
Lloh16:
	adrp	x8, _EPERM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
Lloh18:
	adrp	x8, _RID_APLIST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RID_APLIST@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
Lloh20:
	adrp	x8, _RID_STATSDELTA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RID_STATSDELTA@GOTPAGEOFF]
	b	LBB0_23
LBB0_14:
Lloh22:
	adrp	x8, _RID_STATS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RID_STATS@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:
Lloh24:
	adrp	x8, _RID_STATUS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RID_STATUS@GOTPAGEOFF]
	b	LBB0_23
LBB0_16:
Lloh26:
	adrp	x8, _RID_SSID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RID_SSID@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	ldr	w21, [x20, #12]
	ldr	w0, [x20, #4]
	mov	w1, #1
	bl	_min
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_copy_to_user
	cbnz	x0, LBB0_26
	b	LBB0_3
LBB0_18:
Lloh28:
	adrp	x8, _RID_ETHERENCAP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RID_ETHERENCAP@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh30:
	adrp	x8, _RID_DRVNAME@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RID_DRVNAME@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:
Lloh32:
	adrp	x8, _RID_CONFIG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RID_CONFIG@GOTPAGEOFF]
	ldrh	w21, [x8]
Lloh34:
	adrp	x8, _FLAG_COMMIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FLAG_COMMIT@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_24
; %bb.21:
	mov	x0, x19
	mov	w1, #1
	bl	_disable_MAC
	mov	x0, x19
	mov	w1, #1
	bl	_writeConfigRid
	mov	x0, x19
	mov	w1, #1
	bl	_enable_MAC
	b	LBB0_24
LBB0_22:
Lloh37:
	adrp	x8, _RID_CAPABILITIES@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RID_CAPABILITIES@GOTPAGEOFF]
LBB0_23:
	ldrh	w21, [x8]
LBB0_24:
Lloh39:
	adrp	x23, _RIDSIZE@GOTPAGE
Lloh40:
	ldr	x23, [x23, _RIDSIZE@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh41:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_27
; %bb.25:
	mov	x22, x0
	ldr	x3, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w4, #1
	bl	_PC4500_readrid
	ldr	w0, [x20, #4]
	ldr	w19, [x20, #12]
	ldr	w1, [x23]
	bl	_min
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_copy_to_user
	mov	x19, x0
	mov	x0, x22
	bl	_kfree
	cbz	x19, LBB0_28
LBB0_26:
Lloh44:
	adrp	x8, _EFAULT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_2
LBB0_27:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_28:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_19-LBB0_6)>>2
	.byte	(LBB0_20-LBB0_6)>>2
	.byte	(LBB0_22-LBB0_6)>>2
                                        ; -- End function
	.comm	_FLAG_FLASHING,4,2              ; @FLAG_FLASHING
	.comm	_EIO,4,2                        ; @EIO
	.comm	_RID_CAPABILITIES,2,1           ; @RID_CAPABILITIES
	.comm	_RID_CONFIG,2,1                 ; @RID_CONFIG
	.comm	_FLAG_COMMIT,4,2                ; @FLAG_COMMIT
	.comm	_RID_SSID,2,1                   ; @RID_SSID
	.comm	_RID_APLIST,2,1                 ; @RID_APLIST
	.comm	_RID_DRVNAME,2,1                ; @RID_DRVNAME
	.comm	_RID_ETHERENCAP,2,1             ; @RID_ETHERENCAP
	.comm	_RID_WEP_TEMP,2,1               ; @RID_WEP_TEMP
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_RID_WEP_PERM,2,1               ; @RID_WEP_PERM
	.comm	_RID_STATUS,2,1                 ; @RID_STATUS
	.comm	_RID_STATSDELTA,2,1             ; @RID_STATSDELTA
	.comm	_RID_STATS,2,1                  ; @RID_STATS
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RIDSIZE,8,3                    ; @RIDSIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_readrids
.subsections_via_symbols
