	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_acl_mac_set_status
_wlan_acl_mac_set_status:               ## @wlan_acl_mac_set_status
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_wlan_mac_index_decode
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	js	LBB0_16
## %bb.1:
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_wlan_get_acl_mac
	movl	(%r12), %edx
	cmpl	$128, %edx
	je	LBB0_5
## %bb.2:
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %rcx
	cmpl	$129, %edx
	jne	LBB0_17
## %bb.3:
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_SNMP_ERR_INCONS_NAME@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_RowStatus_active@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_8:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.9:
	cmpl	$0, (%rax)
	je	LBB0_17
## %bb.10:
	movq	%r15, %rdi
	callq	_wlan_mac_new_mac
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	%rax, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	movl	$128, (%rax)
	movq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wlan_mac_add_mac
	testq	%rax, %rax
	js	LBB0_12
## %bb.13:
	movq	(%r15), %rax
	movl	$128, (%rax)
	movq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wlan_add_mac_acl_mac
	testq	%rax, %rax
	js	LBB0_15
## %bb.14:
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_6:
	movq	_SNMP_ERR_NOSUCHNAME@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_12:
	movq	%rbx, %rdi
	callq	_wlan_mac_free_mac
	jmp	LBB0_16
LBB0_15:
	movq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_wlan_mac_delete_mac
LBB0_16:
	movq	%r14, %rcx
LBB0_17:
	movl	(%rcx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_IEEE80211_ADDR_LEN,4,2         ## @IEEE80211_ADDR_LEN
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_INCONS_NAME,4,2       ## @SNMP_ERR_INCONS_NAME
	.comm	_SNMP_ERR_NOSUCHNAME,4,2        ## @SNMP_ERR_NOSUCHNAME
	.comm	_RowStatus_active,4,2           ## @RowStatus_active
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.no_dead_strip	_wlan_acl_mac_set_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_acl_mac_set_status
_wlan_acl_mac_set_status:               ; @wlan_acl_mac_set_status
	.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
	sub	sp, sp, #16
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x2, x9, x8
	mov	sp, x2
Lloh8:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	add	x23, x1, #4
	mov	x0, x23
	mov	x1, x21
	mov	x3, x22
	bl	_wlan_mac_index_decode
	tbnz	x0, #63, LBB0_17
; %bb.1:
	sub	x2, x29, #64
	mov	x0, x23
	mov	x1, x21
	bl	_wlan_get_acl_mac
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.3:
	cbz	x0, LBB0_8
; %bb.4:
Lloh13:
	adrp	x8, _SNMP_ERR_INCONS_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNMP_ERR_INCONS_NAME@GOTPAGEOFF]
	b	LBB0_18
LBB0_5:
	cbz	x0, LBB0_15
; %bb.6:
Lloh15:
	adrp	x8, _RowStatus_active@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RowStatus_active@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9]
LBB0_7:
Lloh18:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_8:
	ldur	x8, [x29, #-64]
	cbz	x8, LBB0_14
; %bb.9:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.10:
	mov	x0, x22
	bl	_wlan_mac_new_mac
	cbz	x0, LBB0_17
; %bb.11:
	mov	x20, x0
	ldr	x8, [x19]
	mov	w21, #128
	str	w21, [x8]
	ldur	x0, [x29, #-64]
	mov	x1, x20
	bl	_wlan_mac_add_mac
	tbnz	x0, #63, LBB0_16
; %bb.12:
	ldr	x8, [x19]
	str	w21, [x8]
	ldur	x0, [x29, #-64]
	mov	x1, x20
	bl	_wlan_add_mac_acl_mac
	tbz	x0, #63, LBB0_7
; %bb.13:
	ldur	x0, [x29, #-64]
	mov	x1, x20
	bl	_wlan_mac_delete_mac
	b	LBB0_17
LBB0_14:
Lloh20:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh22:
	adrp	x8, _SNMP_ERR_NOSUCHNAME@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SNMP_ERR_NOSUCHNAME@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
	mov	x0, x20
	bl	_wlan_mac_free_mac
LBB0_17:
Lloh24:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #48
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_IEEE80211_ADDR_LEN,4,2         ; @IEEE80211_ADDR_LEN
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_INCONS_NAME,4,2       ; @SNMP_ERR_INCONS_NAME
	.comm	_SNMP_ERR_NOSUCHNAME,4,2        ; @SNMP_ERR_NOSUCHNAME
	.comm	_RowStatus_active,4,2           ; @RowStatus_active
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.no_dead_strip	_wlan_acl_mac_set_status
.subsections_via_symbols
