	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_set_drv_ieee8021x      ## -- Begin function hostapd_set_drv_ieee8021x
	.p2align	4, 0x90
_hostapd_set_drv_ieee8021x:             ## @hostapd_set_drv_ieee8021x
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_os_memset
	movq	%r15, -64(%rbp)
	movl	%ebx, -56(%rbp)
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movl	%ebx, -52(%rbp)
	movl	28(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	24(%rax), %edx
	movl	%edx, -32(%rbp)
	movq	_WPA_PROTO_WPA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_WPA_PROTO_RSN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %edi
	orl	%edx, %edi
	movl	%ebx, %ecx
	notl	%ecx
	testl	%ecx, %edi
	jne	LBB0_3
## %bb.2:
	movl	8(%rax), %ecx
	orl	4(%rax), %ecx
	jmp	LBB0_7
LBB0_3:
	testl	%ebx, %esi
	je	LBB0_5
## %bb.4:
	movl	8(%rax), %ecx
	jmp	LBB0_7
LBB0_5:
	testl	%ebx, %edx
	je	LBB0_8
## %bb.6:
	movl	4(%rax), %ecx
LBB0_7:
	movl	%ecx, -48(%rbp)
LBB0_8:
	movl	20(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movl	16(%rax), %eax
	movl	%eax, -40(%rbp)
LBB0_9:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_hostapd_set_ieee8021x
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_PROTO_WPA,4,2              ## @WPA_PROTO_WPA
	.comm	_WPA_PROTO_RSN,4,2              ## @WPA_PROTO_RSN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_set_drv_ieee8021x      ; -- Begin function hostapd_set_drv_ieee8021x
	.p2align	2
_hostapd_set_drv_ieee8021x:             ; @hostapd_set_drv_ieee8021x
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
	str	x21, [sp, #8]
	str	w20, [sp, #16]
	cbz	w20, LBB0_9
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x8]
	str	w9, [sp, #20]
	ldr	d0, [x8, #24]
	str	d0, [sp, #40]
Lloh0:
	adrp	x10, _WPA_PROTO_WPA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WPA_PROTO_WPA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _WPA_PROTO_RSN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _WPA_PROTO_RSN@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w12, w11, w10
	bics	wzr, w12, w9
	b.ne	LBB0_3
; %bb.2:
	ldp	w9, w10, [x8, #4]
	orr	w9, w10, w9
	b	LBB0_7
LBB0_3:
	tst	w11, w9
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x8, #8]
	b	LBB0_7
LBB0_5:
	tst	w10, w9
	b.eq	LBB0_8
; %bb.6:
	ldr	w9, [x8, #4]
LBB0_7:
	str	w9, [sp, #24]
LBB0_8:
	ldr	d0, [x8, #16]
	str	d0, [sp, #32]
LBB0_9:
	add	x1, sp, #8
	mov	x0, x19
	bl	_hostapd_set_ieee8021x
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_PROTO_WPA,4,2              ; @WPA_PROTO_WPA
	.comm	_WPA_PROTO_RSN,4,2              ; @WPA_PROTO_RSN
.subsections_via_symbols
