	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swconfig_send_multipart
_swconfig_send_multipart:               ## @swconfig_send_multipart
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	cmpq	$0, 16(%rdi)
	jne	LBB0_3
## %bb.1:
	movq	_NLMSG_GOODSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jns	LBB0_11
## %bb.4:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
	testq	%rax, %rax
	js	LBB0_9
LBB0_6:
	movq	16(%rbx), %rdi
	movq	%r12, %rsi
	callq	_genlmsg_reply
	movq	$0, 16(%rbx)
	movl	$-1, %r15d
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	_NLMSG_GOODSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	movl	$0, %r15d
	testq	%rax, %rax
	jns	LBB0_11
LBB0_9:
	movq	16(%rbx), %rdi
	movl	$-1, %r15d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_nlmsg_free
	jmp	LBB0_11
LBB0_2:
	movl	$-1, %r15d
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NLMSG_GOODSIZE,4,2             ## @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_swconfig_send_multipart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swconfig_send_multipart
_swconfig_send_multipart:               ; @swconfig_send_multipart
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x21, [x0, #16]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nlmsg_new
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
LBB0_2:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	tbnz	x0, #63, LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_12
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	tbnz	x0, #63, LBB0_9
LBB0_6:
	ldr	x0, [x19, #16]
	mov	x1, x21
	bl	_genlmsg_reply
	str	xzr, [x19, #16]
	tbnz	w0, #31, LBB0_11
; %bb.7:
Lloh6:
	adrp	x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_nlmsg_new
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	tbz	x0, #63, LBB0_3
LBB0_9:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nlmsg_free
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NLMSG_GOODSIZE,4,2             ; @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_swconfig_send_multipart
.subsections_via_symbols
