	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_bsd_set_auth_alg
_wpa_driver_bsd_set_auth_alg:           ## @wpa_driver_bsd_set_auth_alg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WPA_AUTH_ALG_OPEN@GOTPCREL(%rip), %rcx
	movq	_WPA_AUTH_ALG_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_IEEE80211_AUTH_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	_IEEE80211_AUTH_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_IEEE80211_AUTH_SHARED@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	_IEEE80211_IOC_AUTHMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_set80211param                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_AUTH_ALG_OPEN,4,2          ## @WPA_AUTH_ALG_OPEN
	.comm	_WPA_AUTH_ALG_SHARED,4,2        ## @WPA_AUTH_ALG_SHARED
	.comm	_IEEE80211_AUTH_AUTO,4,2        ## @IEEE80211_AUTH_AUTO
	.comm	_IEEE80211_AUTH_SHARED,4,2      ## @IEEE80211_AUTH_SHARED
	.comm	_IEEE80211_AUTH_OPEN,4,2        ## @IEEE80211_AUTH_OPEN
	.comm	_IEEE80211_IOC_AUTHMODE,4,2     ## @IEEE80211_IOC_AUTHMODE
	.no_dead_strip	_wpa_driver_bsd_set_auth_alg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_bsd_set_auth_alg
_wpa_driver_bsd_set_auth_alg:           ; @wpa_driver_bsd_set_auth_alg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _WPA_AUTH_ALG_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPA_AUTH_ALG_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _WPA_AUTH_ALG_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WPA_AUTH_ALG_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w1
	tst	w9, w1
	b.eq	LBB0_3
; %bb.1:
	cbz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _IEEE80211_AUTH_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_AUTH_AUTO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x9, _IEEE80211_AUTH_SHARED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_AUTH_SHARED@GOTPAGEOFF]
Lloh10:
	adrp	x10, _IEEE80211_AUTH_OPEN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IEEE80211_AUTH_OPEN@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
LBB0_4:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _IEEE80211_IOC_AUTHMODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_IOC_AUTHMODE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	_set80211param
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_AUTH_ALG_OPEN,4,2          ; @WPA_AUTH_ALG_OPEN
	.comm	_WPA_AUTH_ALG_SHARED,4,2        ; @WPA_AUTH_ALG_SHARED
	.comm	_IEEE80211_AUTH_AUTO,4,2        ; @IEEE80211_AUTH_AUTO
	.comm	_IEEE80211_AUTH_SHARED,4,2      ; @IEEE80211_AUTH_SHARED
	.comm	_IEEE80211_AUTH_OPEN,4,2        ; @IEEE80211_AUTH_OPEN
	.comm	_IEEE80211_IOC_AUTHMODE,4,2     ; @IEEE80211_IOC_AUTHMODE
	.no_dead_strip	_wpa_driver_bsd_set_auth_alg
.subsections_via_symbols
