	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_wireless_event_wireless_custom
_hostapd_wireless_event_wireless_custom: ## @hostapd_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, %r14
	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	_strncmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	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, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	addq	$5, %rax
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_hwaddr_aton
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_6
LBB0_2:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_6:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_4:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movl	$1, -64(%rbp)
	movq	%r15, -56(%rbp)
	movl	(%r14), %edi
	movq	_EVENT_MICHAEL_MIC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_wpa_supplicant_event
LBB0_7:
	movq	%r12, %rsp
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	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"

	.no_dead_strip	_hostapd_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 hostapd_wireless_event_wireless_custom
_hostapd_wireless_event_wireless_custom: ; @hostapd_wireless_event_wireless_custom
	.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, #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, #-56]
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	_strncmp
	cbnz	x0, LBB0_8
; %bb.1:
	mov	x22, sp
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	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
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.2:
	add	x0, x0, #5
	mov	x1, x21
	bl	_hwaddr_aton
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x23]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w0, [x23]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	bl	_wpa_printf
	b	LBB0_7
LBB0_6:
	sub	x0, x29, #72
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	mov	w8, #1
	stur	w8, [x29, #-72]
	stur	x21, [x29, #-64]
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _EVENT_MICHAEL_MIC_FAILURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EVENT_MICHAEL_MIC_FAILURE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	sub	x2, x29, #72
	bl	_wpa_supplicant_event
LBB0_7:
	mov	sp, x22
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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"

	.no_dead_strip	_hostapd_wireless_event_wireless_custom
.subsections_via_symbols
