	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_create_iface
_wpas_p2p_create_iface:                 ## @wpas_p2p_create_iface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_1
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	movl	(%rdi), %ecx
	movq	_WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE@GOTPCREL(%rip), %rdx
	movq	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_3
## %bb.2:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.4:
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movl	$1, %eax
	jne	LBB0_6
## %bb.5:
	movq	8(%rdi), %rcx
	movq	_WPA_AUTHENTICATING@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setge	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE,4,2 ## @WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE
	.comm	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P,4,2 ## @WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P
	.comm	_WPA_DRIVER_FLAGS_P2P_CONCURRENT,4,2 ## @WPA_DRIVER_FLAGS_P2P_CONCURRENT
	.comm	_WPA_AUTHENTICATING,8,3         ## @WPA_AUTHENTICATING
	.no_dead_strip	_wpas_p2p_create_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_create_iface
_wpas_p2p_create_iface:                 ; @wpas_p2p_create_iface
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #1
	ret
LBB0_4:
Lloh6:
	adrp	x9, _WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.5:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.6:
	ldr	x8, [x0, #8]
Lloh9:
	adrp	x9, _WPA_AUTHENTICATING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WPA_AUTHENTICATING@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE,4,2 ; @WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE
	.comm	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P,4,2 ; @WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P
	.comm	_WPA_DRIVER_FLAGS_P2P_CONCURRENT,4,2 ; @WPA_DRIVER_FLAGS_P2P_CONCURRENT
	.comm	_WPA_AUTHENTICATING,8,3         ; @WPA_AUTHENTICATING
	.no_dead_strip	_wpas_p2p_create_iface
.subsections_via_symbols
