	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_cipher_put_suites          ## -- Begin function wpa_cipher_put_suites
	.p2align	4, 0x90
_wpa_cipher_put_suites:                 ## @wpa_cipher_put_suites
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_WPA_CIPHER_CCMP@GOTPCREL(%rip), %rax
	movq	%rdi, %rbx
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_WPA_CIPHER_SUITE_CCMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_RSN_SELECTOR_PUT
	movq	_WPA_SELECTOR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %rbx
LBB0_2:
	movq	_WPA_CIPHER_TKIP@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_WPA_CIPHER_SUITE_TKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RSN_SELECTOR_PUT
	movq	_WPA_SELECTOR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
LBB0_4:
	movq	_WPA_CIPHER_NONE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_WPA_CIPHER_SUITE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_RSN_SELECTOR_PUT
	movq	_WPA_SELECTOR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
LBB0_6:
	subq	%r14, %rbx
	sarq	$2, %rbx
	movq	_RSN_SELECTOR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_9
LBB0_7:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_CIPHER_CCMP,4,2            ## @WPA_CIPHER_CCMP
	.comm	_WPA_CIPHER_SUITE_CCMP,4,2      ## @WPA_CIPHER_SUITE_CCMP
	.comm	_WPA_SELECTOR_LEN,4,2           ## @WPA_SELECTOR_LEN
	.comm	_WPA_CIPHER_TKIP,4,2            ## @WPA_CIPHER_TKIP
	.comm	_WPA_CIPHER_SUITE_TKIP,4,2      ## @WPA_CIPHER_SUITE_TKIP
	.comm	_WPA_CIPHER_NONE,4,2            ## @WPA_CIPHER_NONE
	.comm	_WPA_CIPHER_SUITE_NONE,4,2      ## @WPA_CIPHER_SUITE_NONE
	.comm	_RSN_SELECTOR_LEN,4,2           ## @RSN_SELECTOR_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_cipher_put_suites          ; -- Begin function wpa_cipher_put_suites
	.p2align	2
_wpa_cipher_put_suites:                 ; @wpa_cipher_put_suites
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _WPA_CIPHER_CCMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPA_CIPHER_CCMP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _WPA_SELECTOR_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _WPA_SELECTOR_LEN@GOTPAGEOFF]
	mov	x20, x0
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _WPA_CIPHER_SUITE_CCMP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_CCMP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x22]
	add	x20, x19, x8, lsl #2
LBB0_2:
Lloh8:
	adrp	x8, _WPA_CIPHER_TKIP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WPA_CIPHER_TKIP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _WPA_CIPHER_SUITE_TKIP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_TKIP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x22]
	add	x20, x20, x8, lsl #2
LBB0_4:
Lloh14:
	adrp	x8, _WPA_CIPHER_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WPA_CIPHER_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _WPA_CIPHER_SUITE_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_NONE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_RSN_SELECTOR_PUT
	ldrsw	x8, [x22]
	add	x20, x20, x8, lsl #2
LBB0_6:
	sub	x8, x20, x19
	asr	x8, x8, #2
Lloh20:
	adrp	x9, _RSN_SELECTOR_LEN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RSN_SELECTOR_LEN@GOTPAGEOFF]
Lloh22:
	ldrsw	x9, [x9]
	sdiv	x0, x8, x9
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_CIPHER_CCMP,4,2            ; @WPA_CIPHER_CCMP
	.comm	_WPA_CIPHER_SUITE_CCMP,4,2      ; @WPA_CIPHER_SUITE_CCMP
	.comm	_WPA_SELECTOR_LEN,4,2           ; @WPA_SELECTOR_LEN
	.comm	_WPA_CIPHER_TKIP,4,2            ; @WPA_CIPHER_TKIP
	.comm	_WPA_CIPHER_SUITE_TKIP,4,2      ; @WPA_CIPHER_SUITE_TKIP
	.comm	_WPA_CIPHER_NONE,4,2            ; @WPA_CIPHER_NONE
	.comm	_WPA_CIPHER_SUITE_NONE,4,2      ; @WPA_CIPHER_SUITE_NONE
	.comm	_RSN_SELECTOR_LEN,4,2           ; @RSN_SELECTOR_LEN
.subsections_via_symbols
