	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg_enable_bearer
_cfg_enable_bearer:                     ## @cfg_enable_bearer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_req_tlv_area@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_req_tlv_space@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TIPC_TLV_BEARER_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_TLV_CHECK
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	callq	_TLV_DATA
	movq	%rax, %rbx
	movl	4(%rax), %edi
	movl	8(%rax), %r14d
	callq	_ntohl
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_ntohl
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_tipc_enable_bearer
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_TIPC_CFG_TLV_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cfg_reply_error_string    ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cfg_reply_none            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_req_tlv_area,4,2               ## @req_tlv_area
	.comm	_req_tlv_space,4,2              ## @req_tlv_space
	.comm	_TIPC_TLV_BEARER_CONFIG,4,2     ## @TIPC_TLV_BEARER_CONFIG
	.comm	_TIPC_CFG_TLV_ERROR,8,3         ## @TIPC_CFG_TLV_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to enable bearer"

	.no_dead_strip	_cfg_enable_bearer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg_enable_bearer
_cfg_enable_bearer:                     ; @cfg_enable_bearer
	.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
Lloh0:
	adrp	x19, _req_tlv_area@GOTPAGE
Lloh1:
	ldr	x19, [x19, _req_tlv_area@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _req_tlv_space@GOTPAGE
Lloh3:
	ldr	x8, [x8, _req_tlv_space@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _TIPC_TLV_BEARER_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TIPC_TLV_BEARER_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_TLV_CHECK
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_TLV_DATA
	mov	x19, x0
	ldp	w0, w20, [x0, #4]
	bl	_ntohl
	mov	x21, x0
	ldr	w0, [x19]
	bl	_ntohl
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_tipc_enable_bearer
	cbz	x0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _TIPC_CFG_TLV_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TIPC_CFG_TLV_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
LBB0_4:
	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
	b	_tipc_cfg_reply_error_string
LBB0_5:
	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
	b	_tipc_cfg_reply_none
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_req_tlv_area,4,2               ; @req_tlv_area
	.comm	_req_tlv_space,4,2              ; @req_tlv_space
	.comm	_TIPC_TLV_BEARER_CONFIG,4,2     ; @TIPC_TLV_BEARER_CONFIG
	.comm	_TIPC_CFG_TLV_ERROR,8,3         ; @TIPC_CFG_TLV_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to enable bearer"

	.no_dead_strip	_cfg_enable_bearer
.subsections_via_symbols
