	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atheros_wireless_event_wireless_custom
_atheros_wireless_event_wireless_custom: ## @atheros_wireless_event_wireless_custom
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$33, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.2:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_24
## %bb.3:
	movq	%rax, %r13
	leaq	L_.str.6(%rip), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %r12
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_os_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_24
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r13
	movq	%r13, %rdi
	movl	$61, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, 8(%r15)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	40(%r15), %rsi
	movq	%r12, %rdi
	callq	_hwaddr_aton
	jmp	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, 32(%r15)
	jmp	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, 24(%r15)
	jmp	LBB0_5
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, 16(%r15)
	jmp	LBB0_5
LBB0_17:
	movq	%rsp, %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	addq	$5, %rax
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_hwaddr_aton
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_21:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_23
LBB0_22:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movl	$1, -64(%rbp)
	movq	%r14, -56(%rbp)
	movl	(%r15), %edi
	movq	_EVENT_MICHAEL_MIC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_wpa_supplicant_event
LBB0_23:
	movq	%r12, %rsp
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Custom wireless event: '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"MLME-MICHAELMICFAILURE.indication"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"addr="

L_.str.3:                               ## @.str.3
	.asciz	"MLME-MICHAELMICFAILURE.indication without sender address ignored"

	.comm	_EVENT_MICHAEL_MIC_FAILURE,4,2  ## @EVENT_MICHAEL_MIC_FAILURE
L_.str.4:                               ## @.str.4
	.asciz	"MLME-MICHAELMICFAILURE.indication with invalid MAC address"

L_.str.5:                               ## @.str.5
	.asciz	"STA-TRAFFIC-STAT"

L_.str.6:                               ## @.str.6
	.asciz	"mac"

L_.str.7:                               ## @.str.7
	.asciz	"rx_packets"

L_.str.8:                               ## @.str.8
	.asciz	"tx_packets"

L_.str.9:                               ## @.str.9
	.asciz	"rx_bytes"

L_.str.10:                              ## @.str.10
	.asciz	"tx_bytes"

	.comm	_EVENT_WPS_BUTTON_PUSHED,4,2    ## @EVENT_WPS_BUTTON_PUSHED
	.comm	_MGMT_FRAM_TAG_SIZE,4,2         ## @MGMT_FRAM_TAG_SIZE
	.no_dead_strip	_atheros_wireless_event_wireless_custom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atheros_wireless_event_wireless_custom
_atheros_wireless_event_wireless_custom: ; @atheros_wireless_event_wireless_custom
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	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, #-88]
Lloh3:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x1, [sp, #-16]!
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #33
	bl	_os_strncmp
	cbz	x0, LBB0_17
; %bb.1:
Lloh9:
	adrp	x1, l_.str.5@PAGE
Lloh10:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w2, #16
	bl	_strncmp
	cbnz	x0, LBB0_24
; %bb.2:
	mov	x0, x20
	mov	w1, #10
	bl	_os_strchr
	cbz	x0, LBB0_24
; %bb.3:
Lloh11:
	adrp	x20, l_.str.6@PAGE
Lloh12:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh13:
	adrp	x21, l_.str.7@PAGE
Lloh14:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh15:
	adrp	x22, l_.str.8@PAGE
Lloh16:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh17:
	adrp	x23, l_.str.9@PAGE
Lloh18:
	add	x23, x23, l_.str.9@PAGEOFF
Lloh19:
	adrp	x24, l_.str.10@PAGE
Lloh20:
	add	x24, x24, l_.str.10@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x26
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	w1, #10
	bl	_os_strchr
	cbz	x0, LBB0_24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x0, #1
	mov	x0, x26
	mov	w1, #61
	bl	_os_strchr
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	strb	wzr, [x25], #1
	mov	x0, x25
	mov	x1, #0
	mov	w2, #10
	bl	_strtoul
	mov	x27, x0
	mov	x0, x26
	mov	x1, x20
	bl	_os_strcmp
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x21
	bl	_os_strcmp
	cbz	x0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x22
	bl	_os_strcmp
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_os_strcmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x24
	bl	_os_strcmp
	cbnz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x19, #8]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x19, #40]
	mov	x0, x25
	bl	_hwaddr_aton
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x19, #32]
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x19, #24]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x27, [x19, #16]
	b	LBB0_5
LBB0_17:
	mov	x22, sp
Lloh21:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh24:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh25:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_os_strstr
	cbz	x0, LBB0_20
; %bb.18:
	add	x0, x0, #5
	mov	x1, x21
	bl	_hwaddr_aton
	cbz	x0, LBB0_22
; %bb.19:
	ldr	w0, [x23]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_20:
	ldr	w0, [x23]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_21:
	bl	_wpa_printf
	b	LBB0_23
LBB0_22:
	sub	x0, x29, #104
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	mov	w8, #1
	stur	w8, [x29, #-104]
	stur	x21, [x29, #-96]
	ldr	w0, [x19]
Lloh32:
	adrp	x8, _EVENT_MICHAEL_MIC_FAILURE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EVENT_MICHAEL_MIC_FAILURE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	sub	x2, x29, #104
	bl	_wpa_supplicant_event
LBB0_23:
	mov	sp, x22
LBB0_24:
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Custom wireless event: '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"MLME-MICHAELMICFAILURE.indication"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"addr="

l_.str.3:                               ; @.str.3
	.asciz	"MLME-MICHAELMICFAILURE.indication without sender address ignored"

	.comm	_EVENT_MICHAEL_MIC_FAILURE,4,2  ; @EVENT_MICHAEL_MIC_FAILURE
l_.str.4:                               ; @.str.4
	.asciz	"MLME-MICHAELMICFAILURE.indication with invalid MAC address"

l_.str.5:                               ; @.str.5
	.asciz	"STA-TRAFFIC-STAT"

l_.str.6:                               ; @.str.6
	.asciz	"mac"

l_.str.7:                               ; @.str.7
	.asciz	"rx_packets"

l_.str.8:                               ; @.str.8
	.asciz	"tx_packets"

l_.str.9:                               ; @.str.9
	.asciz	"rx_bytes"

l_.str.10:                              ; @.str.10
	.asciz	"tx_bytes"

	.comm	_EVENT_WPS_BUTTON_PUSHED,4,2    ; @EVENT_WPS_BUTTON_PUSHED
	.comm	_MGMT_FRAM_TAG_SIZE,4,2         ; @MGMT_FRAM_TAG_SIZE
	.no_dead_strip	_atheros_wireless_event_wireless_custom
.subsections_via_symbols
