	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rndis_set_config_parameter
_rndis_set_config_parameter:            ## @rndis_set_config_parameter
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r14
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$2, %edx
	jne	LBB0_6
## %bb.3:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	shll	$2, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	$8, %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%r12,4), %edi
	addl	$40, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%rax, %r13
	movl	%r12d, %ebx
	shll	$2, %ebx
	leal	40(,%r12,4), %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	cmpl	$2, %r12d
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	jne	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_netdev_dbg
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_22
LBB0_10:
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_11:
	movslq	%ebx, %rbx
	movl	$40, %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%r13)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r13)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r13)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le32
	movq	%rax, (%r13)
	movq	%rbx, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shrq	$2, %rax
	cmpq	$2, %rax
	movl	$1, %r12d
	cmovaeq	%rax, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, 40(%r13,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_13
LBB0_14:
	cmpl	$2, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_19
## %bb.16:
	cltq
	shrq	$2, %rax
	cmpq	$2, %rax
	movl	$1, %r14d
	cmovaeq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %r12
	addq	$40, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_17
	jmp	LBB0_19
LBB0_18:
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 40(%r13,%rcx)
LBB0_19:
	movq	_RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_rndis_set_oid
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_21:
	movq	%r13, %rdi
	callq	_kfree
LBB0_22:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting config parameter: %s, value: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"setting config parameter: %s, value: %d\n"

	.comm	_RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER,4,2 ## @RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER
L_.str.2:                               ## @.str.2
	.asciz	"setting rndis config parameter failed, %d\n"

	.no_dead_strip	_rndis_set_config_parameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rndis_set_config_parameter
_rndis_set_config_parameter:            ; @rndis_set_config_parameter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	cbz	w2, LBB0_3
; %bb.1:
	cmp	w23, #2
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_strlen
	lsl	w26, w0, #2
	b	LBB0_4
LBB0_3:
	mov	w26, #8
LBB0_4:
	mov	x0, x24
	bl	_strlen
	lsl	w25, w0, #2
	add	w27, w25, #40
	add	w22, w27, w26
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kmalloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	sxtw	x25, w25
	sxtw	x26, w26
	ldr	w0, [x19]
	cmp	w23, #2
	b.ne	LBB0_10
; %bb.6:
	stp	x24, x20, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_22
LBB0_10:
	ldr	w8, [x20]
	stp	x24, x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	bl	_netdev_dbg
	mov	w0, #40
	bl	_cpu_to_le32
	str	x0, [x21, #32]
	mov	x0, x25
	bl	_cpu_to_le32
	str	x0, [x21, #24]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x21, #16]
	mov	x0, x27
	bl	_cpu_to_le32
	str	x0, [x21, #8]
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x21]
	add	x26, x21, #40
	cbz	w25, LBB0_14
; %bb.12:
	lsr	x8, x25, #2
	cmp	x8, #1
	csinc	x28, x8, xzr, hi
	mov	x27, x26
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24], #1
	bl	_cpu_to_le16
	str	w0, [x27], #4
	subs	x28, x28, #1
	b.ne	LBB0_13
LBB0_14:
	cmp	w23, #2
	b.ne	LBB0_18
; %bb.15:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	w8, LBB0_19
; %bb.16:
	lsr	x8, x8, #2
	cmp	x8, #1
	csinc	x23, x8, xzr, hi
	add	x8, x21, x25
	add	x24, x8, #40
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20], #1
	bl	_cpu_to_le16
	str	w0, [x24], #4
	subs	x23, x23, #1
	b.ne	LBB0_17
	b	LBB0_19
LBB0_18:
	ldr	w0, [x20]
	bl	_cpu_to_le32
	str	x0, [x26, x25]
LBB0_19:
Lloh11:
	adrp	x8, _RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_rndis_set_oid
	mov	x20, x0
	cbz	w0, LBB0_21
; %bb.20:
	ldr	w0, [x19]
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_dbg
LBB0_21:
	mov	x0, x21
	bl	_kfree
LBB0_22:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting config parameter: %s, value: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"setting config parameter: %s, value: %d\n"

	.comm	_RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER,4,2 ; @RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER
l_.str.2:                               ; @.str.2
	.asciz	"setting rndis config parameter failed, %d\n"

	.no_dead_strip	_rndis_set_config_parameter
.subsections_via_symbols
