	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___orinoco_hw_set_wap           ## -- Begin function __orinoco_hw_set_wap
	.p2align	4, 0x90
___orinoco_hw_set_wap:                  ## @__orinoco_hw_set_wap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rcx
	addq	$12, %rdi
	movl	(%rcx), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	cmpl	$1, 8(%rcx)
	movl	$2, %ecx
	sbbl	$0, %ecx
	movq	_USER_BAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HERMES_RID_CNFROAMINGMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_hermes_write_wordrec           ## TAILCALL
LBB0_3:
	movq	_USER_BAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HERMES_RID_CNFMANDATORYBSSID_SYMBOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$4, %rcx
	popq	%rbp
	jmp	_HERMES_WRITE_RECORD            ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USER_BAP,4,2                   ## @USER_BAP
	.comm	_HERMES_RID_CNFROAMINGMODE,4,2  ## @HERMES_RID_CNFROAMINGMODE
	.comm	_HERMES_RID_CNFMANDATORYBSSID_SYMBOL,4,2 ## @HERMES_RID_CNFMANDATORYBSSID_SYMBOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___orinoco_hw_set_wap           ; -- Begin function __orinoco_hw_set_wap
	.p2align	2
___orinoco_hw_set_wap:                  ; @__orinoco_hw_set_wap
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w9, [x0], #12
	cmp	w9, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #129
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x8, #8]
	cmp	w8, #0
	mov	w8, #1
	cinc	w3, w8, ne
Lloh0:
	adrp	x8, _USER_BAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USER_BAP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HERMES_RID_CNFROAMINGMODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HERMES_RID_CNFROAMINGMODE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	b	_hermes_write_wordrec
LBB0_3:
Lloh6:
	adrp	x9, _USER_BAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USER_BAP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _HERMES_RID_CNFMANDATORYBSSID_SYMBOL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HERMES_RID_CNFMANDATORYBSSID_SYMBOL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x9]
	add	x3, x8, #4
	b	_HERMES_WRITE_RECORD
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_USER_BAP,4,2                   ; @USER_BAP
	.comm	_HERMES_RID_CNFROAMINGMODE,4,2  ; @HERMES_RID_CNFROAMINGMODE
	.comm	_HERMES_RID_CNFMANDATORYBSSID_SYMBOL,4,2 ; @HERMES_RID_CNFMANDATORYBSSID_SYMBOL
.subsections_via_symbols
