	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_hs20_add_roam_cons_sel    ## -- Begin function wpas_hs20_add_roam_cons_sel
	.p2align	4, 0x90
_wpas_hs20_add_roam_cons_sel:           ## @wpas_hs20_add_roam_cons_sel
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, (%rsi)
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_wpabuf_put_u8
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movq	_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_be24
	movq	_HS20_ROAMING_CONS_SEL_OUI_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpabuf_put_data                ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ## @OUI_WFA
	.comm	_HS20_ROAMING_CONS_SEL_OUI_TYPE,8,3 ## @HS20_ROAMING_CONS_SEL_OUI_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_hs20_add_roam_cons_sel    ; -- Begin function wpas_hs20_add_roam_cons_sel
	.p2align	2
_wpas_hs20_add_roam_cons_sel:           ; @wpas_hs20_add_roam_cons_sel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_wpabuf_put_u8
	ldr	x8, [x20]
	add	x1, x8, #4
	mov	x0, x19
	bl	_wpabuf_put_u8
Lloh3:
	adrp	x8, _OUI_WFA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUI_WFA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_be24
Lloh6:
	adrp	x8, _HS20_ROAMING_CONS_SEL_OUI_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HS20_ROAMING_CONS_SEL_OUI_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
	ldr	w1, [x20, #8]
	ldr	x2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wpabuf_put_data
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ; @OUI_WFA
	.comm	_HS20_ROAMING_CONS_SEL_OUI_TYPE,8,3 ; @HS20_ROAMING_CONS_SEL_OUI_TYPE
.subsections_via_symbols
