	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lbs_set_authtype
_lbs_set_authtype:                      ## @lbs_set_authtype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$12, %edi
	callq	_cpu_to_le16
	movl	%eax, -24(%rbp)
	movl	4(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	-28(%rbp), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
LBB0_2:
	movl	(%rbx), %edi
	callq	_lbs_auth_to_authtype
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	%eax, -32(%rbp)
	movq	_CMD_802_11_AUTHENTICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_lbs_cmd_with_response
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CMD_802_11_AUTHENTICATE,4,2    ## @CMD_802_11_AUTHENTICATE
	.no_dead_strip	_lbs_set_authtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lbs_set_authtype
_lbs_set_authtype:                      ; @lbs_set_authtype
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w0, #12
	bl	_cpu_to_le16
	str	w0, [sp, #8]
	ldr	w1, [x20, #4]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w0, [sp, #4]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
LBB0_2:
	ldr	w0, [x20]
	bl	_lbs_auth_to_authtype
	tbnz	w0, #31, LBB0_4
; %bb.3:
	str	w0, [sp]
Lloh3:
	adrp	x8, _CMD_802_11_AUTHENTICATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_802_11_AUTHENTICATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_lbs_cmd_with_response
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CMD_802_11_AUTHENTICATE,4,2    ; @CMD_802_11_AUTHENTICATE
	.no_dead_strip	_lbs_set_authtype
.subsections_via_symbols
