	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_check_group_cipher
_wpa_supplicant_check_group_cipher:     ## @wpa_supplicant_check_group_cipher
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r13
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_wpa_cipher_to_alg
	movl	%eax, (%r14)
	movq	_WPA_ALG_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_msg
	jmp	LBB0_5
LBB0_2:
	movl	%ebx, %edi
	callq	_wpa_cipher_rsc_len
	movl	%eax, (%r13)
	movl	%ebx, %edi
	callq	_wpa_cipher_key_len
	cmpl	%r15d, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_4
## %bb.3:
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%r13d, %ecx
	jle	LBB0_6
LBB0_4:
	movq	(%r12), %rax
	movl	(%rax), %r14d
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_wpa_cipher_txt
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%eax, %ecx
	movl	%r15d, %r8d
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_wpa_msg
LBB0_5:
	movl	$-1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_ALG_NONE,4,2               ## @WPA_ALG_NONE
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPA: Unsupported Group Cipher %d"

L_.str.1:                               ## @.str.1
	.asciz	"WPA: Unsupported %s Group Cipher key length %d (%d)"

	.no_dead_strip	_wpa_supplicant_check_group_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_check_group_cipher
_wpa_supplicant_check_group_cipher:     ; @wpa_supplicant_check_group_cipher
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x5
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_wpa_cipher_to_alg
	str	w0, [x24]
Lloh0:
	adrp	x8, _WPA_ALG_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPA_ALG_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_wpa_cipher_rsc_len
	str	w0, [x23]
	mov	x0, x19
	bl	_wpa_cipher_key_len
	cmp	w0, w20
	b.ne	LBB0_5
; %bb.3:
	cmp	w0, w21
	b.gt	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	ldr	x8, [x22]
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_wpa_cipher_txt
	mov	x3, x0
	stp	x20, x21, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
LBB0_6:
	bl	_wpa_msg
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_ALG_NONE,4,2               ; @WPA_ALG_NONE
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPA: Unsupported Group Cipher %d"

l_.str.1:                               ; @.str.1
	.asciz	"WPA: Unsupported %s Group Cipher key length %d (%d)"

	.no_dead_strip	_wpa_supplicant_check_group_cipher
.subsections_via_symbols
