	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_if_create               ## -- Begin function be_cmd_if_create
	.p2align	4, 0x90
_be_cmd_if_create:                      ## @be_cmd_if_create
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$0, -48(%rbp)
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_embedded_payload
	movq	%rax, %rbx
	leaq	24(%rax), %rdi
	movq	_CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_COMMON_NTWK_INTERFACE_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %ecx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movq	%r14, 24(%rbx)
	movq	%r12, %rdi
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_be_cmd_notify_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %rdi
	callq	_embedded_payload
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r15, %rdi
	callq	_BE3_chip
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_be_physfn
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ## @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_NTWK_INTERFACE_CREATE,4,2 ## @OPCODE_COMMON_NTWK_INTERFACE_CREATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_if_create               ; -- Begin function be_cmd_if_create
	.p2align	2
_be_cmd_if_create:                      ; @be_cmd_if_create
	.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	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	str	wzr, [sp, #8]
	add	x0, sp, #8
	bl	_embedded_payload
	mov	x24, x0
	add	x0, x0, #24
Lloh0:
	adrp	x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPCODE_COMMON_NTWK_INTERFACE_CREATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPCODE_COMMON_NTWK_INTERFACE_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w3, #32
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	str	x21, [x24, #24]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x24, #16]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x24, #8]
	mov	w8, #1
	str	w8, [x24]
	add	x1, sp, #8
	mov	x0, x19
	bl	_be_cmd_notify_wait
	mov	x21, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x21
	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
LBB0_2:
	add	x0, sp, #8
	bl	_embedded_payload
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_le32_to_cpu
	str	x0, [x20]
	mov	x0, x19
	bl	_BE3_chip
	cbz	x0, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_be_physfn
	cbnz	w0, LBB0_1
; %bb.4:
	ldr	w0, [x22]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	str	x0, [x8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ; @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_NTWK_INTERFACE_CREATE,4,2 ; @OPCODE_COMMON_NTWK_INTERFACE_CREATE
.subsections_via_symbols
